Commit 236aa5a9 authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar Committed by Linux Build Service Account
Browse files

power: pm8921-charger: report battery state based on fsm state



The current code looks at few irq states and reports the battery state.
Instead map an fsm state to battery state and report that state instead.
This will be more accurate than the current method.

Change-Id: I42bc2625fa43cf97d03801a0fcf6ad34eabc042e
CRs-Fixed: 313654
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent ec2515fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment