mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-14 00:26:30 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user