diff options
author | michael_chen <michael5_chen@pegatroncorp.com> | 2018-09-28 13:58:05 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-10-14 21:17:12 -0700 |
commit | 894861f0991192dd9f09087017aa3f76afc93dd9 (patch) | |
tree | fa832ec9beccfd87ffb45abf048624dcd98fad12 /board/rammus | |
parent | c5661a8a8b3172a185dae2d649e9575ea9b72ce8 (diff) | |
download | chrome-ec-894861f0991192dd9f09087017aa3f76afc93dd9.tar.gz |
rammus: Fix system can not charge when battery LED is amber
When battery full charge flag setting and battery discharge to 96%.
The battery LED will bright amber and system can't charge.
Modify CONFIG_BATTERY_LEVEL_NEAR_FULL from 97% to 94% to fix it.
BUG=b:117438684
BRANCH=ToT
TEST=Manual
1.Battery charge to full flag setting and remove AC.
2.Discharge the battery RSOC to 96% and plug-in AC.
3.Check battery LED is green.
4.Remove AC and discharge the battery RSOC to 93% and plug-in AC.
5.Check battery LED is amber and system is charge.
Change-Id: Ibd80304c109eb452bc5eba98fee3837a1611efb7
Signed-off-by: michael_chen <michael5_chen@pegatroncorp.com>
Reviewed-on: https://chromium-review.googlesource.com/1250583
Commit-Ready: michael chen <michael5_chen@pegatroncorp.com>
Tested-by: michael chen <michael5_chen@pegatroncorp.com>
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Diffstat (limited to 'board/rammus')
-rw-r--r-- | board/rammus/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/rammus/board.h b/board/rammus/board.h index 9e8bc2e74e..883de5e665 100644 --- a/board/rammus/board.h +++ b/board/rammus/board.h @@ -73,6 +73,7 @@ #define CONFIG_BATTERY_HW_PRESENT_CUSTOM #define CONFIG_BATTERY_DEVICE_CHEMISTRY "LION" #define CONFIG_BATTERY_SMART +#define CONFIG_BATTERY_LEVEL_NEAR_FULL 94 /* Charger */ #define CONFIG_CHARGE_MANAGER |