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

Skip to content
Commit 82e74d47 authored by Anirudh Ghayal's avatar Anirudh Ghayal Committed by Gerrit - the friendly Code Review server
Browse files

power: qpnp-qg: Update the check for 0% SOC



The present logic only checks for vbat-cutoff threshold
at sys_soc = 0, however this logic should also apply if
sys_soc is < 1, else there is a possibility that the sys_soc
between 0 and 1, may get rounded to 0.

Change-Id: I6ab39faf6795bd02e6cf37d4f04ae7fb60afdbeb
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 0064da16
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