From 474d981408b4d7047e1565a521e3973ef5c386f7 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Sun, 23 Jul 2017 00:38:08 -0700 Subject: eve: 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. BUG=b:63957122 BRANCH=eve TEST=manual testing on Eve with critically low battery to ensure that it is cut off instead of going into hibernate. Change-Id: I2eaba3623385a4eb3daa39a2fa8aa08d3ec6366e Signed-off-by: Duncan Laurie Reviewed-on: https://chromium-review.googlesource.com/582543 Reviewed-by: Furquan Shaikh Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2320003 Tested-by: Patryk Duda Reviewed-by: Jett Rink Commit-Queue: Patryk Duda --- board/eve/board.h | 1 + 1 file changed, 1 insertion(+) diff --git a/board/eve/board.h b/board/eve/board.h index de2d802b55..475c707a80 100644 --- a/board/eve/board.h +++ b/board/eve/board.h @@ -73,6 +73,7 @@ #define CONFIG_TABLET_MODE /* Battery */ +#define CONFIG_BATTERY_CRITICAL_SHUTDOWN_CUT_OFF #define CONFIG_BATTERY_CUT_OFF #define CONFIG_BATTERY_DEVICE_CHEMISTRY "LION" #define CONFIG_BATTERY_PRESENT_CUSTOM -- cgit v1.2.1