diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2018-03-09 13:39:35 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-03-09 07:17:49 -0800 |
commit | 7d02681c034ef9dd5cc61256b4d91f473a63a510 (patch) | |
tree | 9a1ac3f0a5e38613a428ded14268b1eb48b64969 | |
parent | 2f7da4a6aec737c589d55a28d15595b5794a33fb (diff) | |
download | chrome-ec-7d02681c034ef9dd5cc61256b4d91f473a63a510.tar.gz |
wand: Hibernate instead of cutting battery power if battery is low
If wand ever reaches low enough battery level (<3%), it should
hibernate, instead of cutting off the battery, as the latter will
disable all the switches, and lead lux to redetect the base.
BRANCH=none
BUG=b:74414928
TEST=Discharge wand as much as possible, then put lux in S0ix (no
power transfer currently), discharge wand further (using
pwm 0 100 to activate backlight to draw a bit more power),
see that wand goes into hibernate.
Change-Id: I9edb517aada7d21fbcddbce4ad06ab7fbcafce38
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/956659
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | board/hammer/board.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/board/hammer/board.h b/board/hammer/board.h index b66f18ab51..b299201cd0 100644 --- a/board/hammer/board.h +++ b/board/hammer/board.h @@ -240,7 +240,6 @@ #define CONFIG_CHARGE_RAMP_HW -#define CONFIG_BATTERY_CRITICAL_SHUTDOWN_CUT_OFF #define CONFIG_BATTERY_CUT_OFF #define CONFIG_BATTERY_SMART |