power: qpnp-fg: clear learning data when battery is missing
Currently, if a hotswap is done, the battery age learning data is not
cleared. Fix this by clearing the data if the profile integrity bit is
not set in the profile initialization function.
CRs-Fixed: 917683
Change-Id: Ife9a70349e24f8261353086766fcb8db27a5ac84
Signed-off-by:
Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Loading
Please register or sign in to comment