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

Commit d71d65af authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

power: qpnp-fg: add support to detect empty battery based on vbatt-low irq



On some platforms, the empty soc interrupt fires randomly and it
cannot be trusted to report battery empty condition. Use Vbatt
low interrupt along with delta soc interrupt to determine whether
battery is really empty.

This option of using vbatt-low interrupt to detect empty battery
is supported via "qcom,fg-use-vbat-low-empty-soc" property.

CRs-Fixed: 977670
Change-Id: I757a1f3c7c66d33d88495348f5dce40cb05cfa64
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 9dc32790
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