summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Hsu <Henry.Hsu@quantatw.com>2013-08-23 18:51:10 +0800
committerDave Parker <dparker@chromium.org>2013-08-25 18:24:22 -0700
commite1557f72df2f8e54ffd33e3dd4842b405cdda43c (patch)
tree5abdf339b715b55252bbd0368270edefcf27dd83
parent0c9339bb952283cc92c5a84f0388d8d78a9cc27a (diff)
downloadchrome-ec-e1557f72df2f8e54ffd33e3dd4842b405cdda43c.tar.gz
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 <Henry.Hsu@quantatw.com> Change-Id: I456ebdcf0dbb016941df96512aaa2937c4684fa2 Reviewed-on: https://gerrit.chromium.org/gerrit/66804 Reviewed-by: Dave Parker <dparker@chromium.org> Tested-by: Dave Parker <dparker@chromium.org>
-rw-r--r--common/battery_wolf.c12
1 files 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. */