mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-30 18:41:11 +00:00
poppy: Cut off critically low battery
Instead of going to hibernate when the battery is critically low we should cut off power entirely. Even with the PMIC shut down the H1 chip consumes more power than is healthy when the battery is already critically low, depleting it to dangerously low voltage levels faster than it should. (Reference: https://chromium-review.googlesource.com/582543) BUG=b:64460667 BRANCH=None TEST=Manual testing to ensure that EC cuts off battery when it is critically low instead of hibernating on soraka. Change-Id: I3befd583df64c44d43d73cda69a6486219578192 Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/605015 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
04ef7b0a84
commit
c90eeada8a
@@ -70,6 +70,7 @@
|
||||
#undef CONFIG_PECI
|
||||
|
||||
/* Battery */
|
||||
#define CONFIG_BATTERY_CRITICAL_SHUTDOWN_CUT_OFF
|
||||
#define CONFIG_BATTERY_CUT_OFF
|
||||
#define CONFIG_BATTERY_DEVICE_CHEMISTRY "LION"
|
||||
#define CONFIG_BATTERY_PRESENT_GPIO GPIO_BATTERY_PRESENT_L
|
||||
|
||||
Reference in New Issue
Block a user