From d8095f39d66ea363bff23201e19714a9f69c70cb Mon Sep 17 00:00:00 2001 From: Shawn Nematbakhsh Date: Wed, 14 Jan 2015 16:16:13 -0800 Subject: [PATCH] samus: Increase critical battery shutdown timeout Increase this timeout to 60s to allow powerd to cleanly shutdown the system, if we boot with a low-power charger and low battery. BUG=chrome-os-partner:35188 TEST=Manual on Samus. Deplete battery to 2% and boot system with 5V / 500mA charger attached. Verify that OS powers down before critical battery shutdown occurs. BRANCH=Samus Change-Id: I9429d05efad506a855507bfb5b76de41df2aac1e Signed-off-by: Shawn Nematbakhsh Reviewed-on: https://chromium-review.googlesource.com/240816 Reviewed-by: Alec Berg --- board/samus/board.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/samus/board.h b/board/samus/board.h index c7cd2210a2..9005060f6a 100644 --- a/board/samus/board.h +++ b/board/samus/board.h @@ -22,6 +22,8 @@ #define CONFIG_BOARD_VERSION #define CONFIG_CMD_ACCELS #define CONFIG_CMD_ACCEL_INFO +#undef CONFIG_BATTERY_CRITICAL_SHUTDOWN_TIMEOUT +#define CONFIG_BATTERY_CRITICAL_SHUTDOWN_TIMEOUT 60 #define CONFIG_POWER_COMMON #define CONFIG_CHIPSET_CAN_THROTTLE #define CONFIG_KEYBOARD_BOARD_CONFIG