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:
Anirudh Ghayal <aghayal@codeaurora.org>
Loading
Please register or sign in to comment