From e1557f72df2f8e54ffd33e3dd4842b405cdda43c Mon Sep 17 00:00:00 2001 From: Henry Hsu Date: Fri, 23 Aug 2013 18:51:10 +0800 Subject: Update Wolf battery spec. Update 3S1P battery setting to meet spec. BRANCH=wolf BUG=none TEST=none Follow battery spec. Signed-off-by: Hsu Henry Change-Id: I456ebdcf0dbb016941df96512aaa2937c4684fa2 Reviewed-on: https://gerrit.chromium.org/gerrit/66804 Reviewed-by: Dave Parker Tested-by: Dave Parker --- common/battery_wolf.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/common/battery_wolf.c b/common/battery_wolf.c index 6ae9506aad..b9fb590092 100644 --- a/common/battery_wolf.c +++ b/common/battery_wolf.c @@ -6,23 +6,21 @@ */ #include "battery_pack.h" -#include "gpio.h" -/* FIXME: We need REAL values for all this stuff */ const struct battery_temperature_ranges bat_temp_ranges = { .start_charging_min_c = 0, .start_charging_max_c = 50, .charging_min_c = 0, .charging_max_c = 50, - .discharging_min_c = -20, - .discharging_max_c = 60, + .discharging_min_c = 0, + .discharging_max_c = 65, }; static const struct battery_info info = { -/* Based on 3S1P, same as peppy */ +/* Change to the real specification */ - .voltage_max = 12600, - .voltage_normal = 11100, + .voltage_max = 13050, + .voltage_normal = 11400, .voltage_min = 9000, /* Pre-charge values. */ -- cgit v1.2.1