power: qpnp-fg-gen4: retry ESR fast calibration based on delta ESR count
Currently, ESR fast calibration is attempted whenever the delta
ESR interrupt has not fired even once when the fast calibration
is enabled. In certain cases, delta ESR interrupt won't fire for
over a period of time. Since ESR measurement is essential for
accurate state of charge (SOC) calculations, retry ESR fast
calibration until 3 delta ESR interrupts fire.
Change-Id: I1ecf964f0473e68355bada4a547333c229f26ed4
Signed-off-by:
Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Loading
Please register or sign in to comment