Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9314c652 authored by Anirudh Ghayal's avatar Anirudh Ghayal
Browse files

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: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent fb2b7441
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment