summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@google.com>2017-07-23 00:38:08 -0700
committerCommit Bot <commit-bot@chromium.org>2020-08-27 21:31:12 +0000
commit474d981408b4d7047e1565a521e3973ef5c386f7 (patch)
treeb51887782e43e9502338c89583fb746fb5c6c40a
parent7e894e7e180d62d26fb81804709aa7ff8f958e17 (diff)
downloadchrome-ec-474d981408b4d7047e1565a521e3973ef5c386f7.tar.gz
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 <dlaurie@google.com> Reviewed-on: https://chromium-review.googlesource.com/582543 Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2320003 Tested-by: Patryk Duda <pdk@semihalf.com> Reviewed-by: Jett Rink <jettrink@chromium.org> Commit-Queue: Patryk Duda <pdk@semihalf.com>
-rw-r--r--board/eve/board.h1
1 files changed, 1 insertions, 0 deletions
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