power: pm8921-charger: fix not reporting battery full status at EOC
When EOC (End of Charging) happens the pmic will transition to
FSM_STATE_ON_CHG_HIGHI_1 state and opens the batfet isolating
the battery.
In such a case a FULL status needs to be reported via the power
supply properties. There is bug where the code does not report FULL
status if the charger is not hot.
CRs-Fixed: 327889
Change-Id: Ifa95e786e07f3282912c0325a1f1d98df60a1d63
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
1 file changed