diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2015-01-14 16:11:47 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-01-15 05:13:14 +0000 |
commit | 88ccbe9323c2f7fdd0234bfcd561c2021c74eb4f (patch) | |
tree | 058d369f853c83dddb70112ed22d8d744c6730a7 /include/charge_state.h | |
parent | 64ada6e3d8220e51a64b30ff15878f1abff11a47 (diff) | |
download | chrome-ec-88ccbe9323c2f7fdd0234bfcd561c2021c74eb4f.tar.gz |
charger: Make critical battery shutdown timeout a config option
Certain platforms may wish to have a longer shutdown timeout, so make
the timeout a config option.
BUG=chrome-os-partner:35188
TEST=Manual on Samus with subsequent CL. Set config option to increase
timeout, verify that timeout is extended.
BRANCH=Samus
Change-Id: I69feb0d31fdc53e533671dec1e88ba96cc4553c2
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/240815
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'include/charge_state.h')
-rw-r--r-- | include/charge_state.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/charge_state.h b/include/charge_state.h index ab9c1043b5..97c6ca404e 100644 --- a/include/charge_state.h +++ b/include/charge_state.h @@ -10,9 +10,6 @@ /* Stuff that's common to all charger implementations can go here. */ -/* Seconds after AP battery shutdown warning before we kill the AP */ -#define CRITICAL_BATTERY_SHUTDOWN_TIMEOUT 30 - /* Seconds to spend trying to wake a non-responsive battery */ #define PRECHARGE_TIMEOUT 30 |