+191
−171
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
ESR fast calibration when enabled makes frequent ESR pulses so
that the state of charge (SOC) can be calculated accurately. In
some cases, there is a possibility that ESR pulses cannot fire
within the calibrated window. Retry enabling ESR fast calibration
once from delta MSOC interrupt handler and disable it after a
ESR delta interrupt fires or timer expires.
Change-Id: I5eb26427e581fa9717e5d3ca55c6ee7c9b37fba1
Signed-off-by:
Subbaraman Narayanamurthy <subbaram@codeaurora.org>