diff options
author | Vic Yang <victoryang@chromium.org> | 2014-10-08 08:57:24 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-10-09 23:29:34 +0000 |
commit | e3e799916460fc2faf3c661534de014d692e7f19 (patch) | |
tree | 98d6f93d7065a9107f819e67dc517e4c8a65d91b /extra/lightbar/simulation.h | |
parent | 61dc089e23091a337a49f062d9058741a0ebf3bd (diff) | |
download | chrome-ec-e3e799916460fc2faf3c661534de014d692e7f19.tar.gz |
Don't hibernate on low battery if hiberante is not supported
If CONFIG_HIBERNATE is explicitly undefined for a board, the EC
shouldn't hibernate when the battery is running low. Otherwise, the EC
reboots because of the lack of hibernate support, and this actually
burns more power.
BUG=chrome-os-partner:32727, chrome-os-partner:32779
TEST=Drain the battery to 2% and verify the EC is behaving.
BRANCH=None
Change-Id: I2f9f5fd8fb4b5be4d8da113da4ef26c062869a07
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/222615
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'extra/lightbar/simulation.h')
0 files changed, 0 insertions, 0 deletions