power: smblite/smb5-lib.c: Report the correct battery status at SOC=0
Userspace initiates a shutdown if battery_status != charging
and SOC = 0, this is to prevent a deep-discharge of the battery
when the discharge current is higher than the charge current
at SOC = 0. Report this status from the kernel driver.
Change-Id: If7dd806e6427b65427d5999bb9ccda7098ec6101
Signed-off-by:
Anirudh Ghayal <aghayal@codeaurora.org>
Loading
Please register or sign in to comment