mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
fdac3804153be20399a7b0e026a378f3d5eb24f3
When battery is cutoff, it might at times require some current to be applied to it so that it can wake up. Thus, in case where all battery flags indicate error in charger_profile_override, set requested_current and requested_voltage to precharge_current and voltage max. This allows the battery to be woken up. BUG=b:64370648,b:64460667 BRANCH=None TEST=Verified that on connecting AC power after battery-cutoff, there are no "try to wake battery" messages anymore. Change-Id: Ib88369238b492994d8310655126e19bc7e347a0c Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/607034 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@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%