Pyro: Follow battery spec to modify battery parameters.

Follow battery spec to modify battery parameters for three cells
battery.

BUG=chrome-os-partner:57571, chrome-os-partner:58062
BRANCH=None
TEST=make BOARD=pyro

Change-Id: I65355dd936436dc219592194c9a0fd9e5003e4a0
Signed-off-by: Bruce.Wan <Bruce.Wan@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/397098
Commit-Ready: Keith Tzeng <keith.tzeng@quantatw.com>
Tested-by: Keith Tzeng <keith.tzeng@quantatw.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Bruce
2016-10-12 13:46:36 +08:00
committed by chrome-bot
parent 0fd106fbf4
commit 382e7ef24a

View File

@@ -22,16 +22,16 @@
/* Battery info for BQ40Z55 */
static const struct battery_info info = {
/* FIXME(dhendrix): where do these values come from? */
.voltage_max = 8700, /* mV */
.voltage_normal = 7600,
.voltage_min = 6100,
.precharge_current = 256, /* mA */
.voltage_max = 13050, /* mV */
.voltage_normal = 11250,
.voltage_min = 9000,
.precharge_current = 200, /* mA */
.start_charging_min_c = 0,
.start_charging_max_c = 46,
.start_charging_max_c = 45,
.charging_min_c = 0,
.charging_max_c = 60,
.discharging_min_c = 0,
.discharging_max_c = 60,
.discharging_max_c = 70,
};
#ifdef CONFIG_BATTERY_PRESENT_CUSTOM