power: smb5-lib: Report NOT_CHARGING in over voltage condition
Currently the charger status shows as charging when the over
voltage condition is hit even though the battery is actually
discharging. Fix it by reporting the power supply status as
NOT_CHARGING when the battery health reports over voltage.
Change-Id: If551e51fd506d3f3df93d1a609d20add0631b228
Signed-off-by:
Kiran Gunda <kgunda@codeaurora.org>
Loading
Please register or sign in to comment