diff options
author | Yilun Lin <yllin@google.com> | 2019-01-28 09:40:20 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-01-29 17:45:53 -0800 |
commit | 3fe7bcffda1ba1673839aa911b33106d91f7591d (patch) | |
tree | 6fb44919da7e81bad0286dfbec0d70127288f7e7 /board | |
parent | 39d895712f22d340b885c4651b5c99f6dda40c7c (diff) | |
download | chrome-ec-3fe7bcffda1ba1673839aa911b33106d91f7591d.tar.gz |
kukui/battery: Bounds max charging voltage by mt6370's 1% err rate.
The battery spec states the maximal charging voltage is 4.42V.
Considering +-1% of voltage accuracy from rt9467/mt6370, we should
lower the charging voltage to ensure it never hits 4.42V.
BUG=b:118799175
BRANCH=None
TEST=make BOARD=kukui
Change-Id: Ibdbc78f7742efa340c821a12ed6ef43ac27eabc4
Signed-off-by: Yilun Lin <yllin@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1436644
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Yilun Lin <yllin@chromium.org>
Reviewed-by: Philip Chen <philipchen@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/kukui/battery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/kukui/battery.c b/board/kukui/battery.c index 5a3e27b844..1e7bec10a7 100644 --- a/board/kukui/battery.c +++ b/board/kukui/battery.c @@ -128,9 +128,9 @@ int charger_profile_override(struct charge_state_data *curr) } temp_zones[BATTERY_COUNT][TEMP_ZONE_COUNT] = { [BATTERY_SIMPLO] = { /* TEMP_ZONE_0 */ - {BATTERY_SIMPLO_CHARGE_MIN_TEMP * 10, 150, 1772, 4400}, + {BATTERY_SIMPLO_CHARGE_MIN_TEMP * 10, 150, 1772, 4376}, /* TEMP_ZONE_1 */ - {150, 450, 4020, 4400}, + {150, 450, 4020, 4376}, /* TEMP_ZONE_2 */ {450, BATTERY_SIMPLO_CHARGE_MAX_TEMP * 10, 3350, 4300}, }, |