Commit c58b5637 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy Committed by Gerrit - the friendly Code Review server
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 71e1ec97
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment