From 382e7ef24a5664f19ec94f67aa9cb83d5ea3502c Mon Sep 17 00:00:00 2001 From: Bruce Date: Wed, 12 Oct 2016 13:46:36 +0800 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/397098 Commit-Ready: Keith Tzeng Tested-by: Keith Tzeng Reviewed-by: Aaron Durbin --- board/pyro/battery.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/board/pyro/battery.c b/board/pyro/battery.c index f0f7048296..7e2f975a4e 100644 --- a/board/pyro/battery.c +++ b/board/pyro/battery.c @@ -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