From 1f17e1cfc9724f5598cfe3d0addbe5beb41810e7 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Thu, 7 Sep 2017 19:22:03 -0700 Subject: [PATCH] soraka: Hibernate on critical battery level In case of battery cut-off on Soraka, there is a battery requirement that AC power should not be applied for at least 9 seconds after the cut-off is performed. Performing battery cut-off when battery is at critical level results in a bad user experience if the user connects AC power within the 9-second window. Thus, instead of performing a battery cut-off, make the EC hibernate in critical battery conditions. BUG=b:64703097 BRANCH=None TEST=make -j buildall Change-Id: I40827faccd52c8628b69773cb22ccc6ed19915ed Signed-off-by: Furquan Shaikh Reviewed-on: https://chromium-review.googlesource.com/656609 Reviewed-by: Nicolas Boichat --- board/poppy/board.h | 1 - 1 file changed, 1 deletion(-) diff --git a/board/poppy/board.h b/board/poppy/board.h index 480ad9f985..23a35f15d3 100644 --- a/board/poppy/board.h +++ b/board/poppy/board.h @@ -71,7 +71,6 @@ #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_SMART