From 359b98c312521bdaee2e4065e1d39ae7ab70f1c4 Mon Sep 17 00:00:00 2001 From: Edward Hill Date: Fri, 8 Dec 2017 12:33:07 -0700 Subject: [PATCH] grunt: Update battery info Adjust values to match the datasheet. BUG=b:69683279 BRANCH=none TEST=make BOARD=grunt Change-Id: Ic95e9f2ccf2316f342d014f6042fb7b0f7108357 Signed-off-by: Edward Hill Reviewed-on: https://chromium-review.googlesource.com/817876 Commit-Ready: ChromeOS CL Exonerator Bot Reviewed-by: Aaron Durbin Reviewed-by: Vincent Palatin --- board/grunt/battery.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/board/grunt/battery.c b/board/grunt/battery.c index f1dc9f9432..49e943165d 100644 --- a/board/grunt/battery.c +++ b/board/grunt/battery.c @@ -13,16 +13,16 @@ #define SB_SHUTDOWN_DATA 0x0010 static const struct battery_info info = { - .voltage_max = 13200,/* mV */ - .voltage_normal = 11400, + .voltage_max = 13200, /* mV */ + .voltage_normal = 11550, .voltage_min = 9000, - .precharge_current = 256,/* mA */ + .precharge_current = 256, /* mA */ .start_charging_min_c = 0, .start_charging_max_c = 50, .charging_min_c = 0, .charging_max_c = 60, .discharging_min_c = -20, - .discharging_max_c = 70, + .discharging_max_c = 75, }; const struct battery_info *battery_get_info(void) {