mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-30 18:41:11 +00:00
2d06b37e0efb781f5b12ae1fb794b832fd93fbcf
If charge and discharge FETs are both disabled, then try reviving the battery by sending 0x23a7 using manufacturer access. This is required to get the battery out of emergency shutdown mode which is entered upon hardware battery cut-off. BUG=b:68044490 BRANCH=None TEST=Verified that hardware and software based battery cut-off work as expected. Device boots up fine on connecting AC power. Change-Id: I1aed44c50e80b74b7b19c9808f465273bfd7b0da Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/738643 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%