Commit 4f9397b2 authored by David Keitel's avatar David Keitel
Browse files

power: pm8921-charger: fix state of charge reporting



When the battery is missing the BMS is currently still used to
calculate the state of charge.

Fix this by reporting the voltage based state of charge when the
battery is missing.

Change-Id: I8eb265193b5bfb953add8731e9f47723cf301891
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent d7e20e2a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment