mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-15 00:56:22 +00:00
83f8996bd073f7b9753bd5b859fe141f263ab9a5
Adding this config so that battery_get_disconnect_state() is called directly as a condition in prevent_power_on instead of having this be a condition battery_is_present. This change allows precharge current to be sent to the battery when the battery is dead or recovering from battery cutoff condition. BRANCH=none BUG=b:79133101 TEST=tested on Yorp and verfied that in both dead battery and battery cutoff cases, the battery wakes up as expected. Change-Id: Iefec578dd241ddb832630ffa2530ba7c631f9a96 Signed-off-by: Scott Collyer <scollyer@google.com> Reviewed-on: https://chromium-review.googlesource.com/1053096 Commit-Ready: Scott Collyer <scollyer@chromium.org> Tested-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org>
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
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%