Commit f8a91ca2 authored by Kiran Gunda's avatar Kiran Gunda Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarKiran Gunda <kgunda@codeaurora.org>
parent 0d0317a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment