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

Skip to content
Commit 600bdeb5 authored by Xiaozhe Shi's avatar Xiaozhe Shi Committed by Stephen Boyd
Browse files

power: qpnp-bms: report resistance immediately



Currently, the first calculation of rbatt is ignored. This creates
a period between when the bms power supply is registered and before
the next time SoC is calculated where the resistance value reported
is 0.

Fix this by saving the first calculation of rbatt but not calling
power supply changed until the bms power supply is registered.

Change-Id: I1844defabd9aec8e7a82831f046d66849b5db25b
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent 35e1b18a
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