Nicolas Boichat 7d02681c03 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>
2018-03-09 07:17:49 -08:00
2017-08-07 19:29:13 -07:00
2017-07-08 20:38:53 -07:00
2017-10-10 22:13:43 -07:00
2018-03-08 17:01:01 -08:00
2018-03-07 16:55:28 -08:00
2012-05-11 09:11:52 -07:00
2014-04-02 19:58:53 +00:00
2017-11-16 21:07:40 -08:00

For an overview of the Embedded Controller firmware, refer to

http://www.chromium.org/chromium-os/2014-firmware-summit

For instructions on building from source, refer to

http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly
Description
No description provided
Readme 1.4 GiB
Languages
C 64.7%
Lasso 20.7%
ASL 3.6%
JavaScript 3.2%
C# 2.9%
Other 4.6%