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

Skip to content
Commit 0b209e37 authored by Kiran Gunda's avatar Kiran Gunda
Browse files

power: qpnp-fg-gen4: Fix the condition for capacity-learning-update



Weighted capacity learning relies on input status to complete the
capacity learning event. The existing logic only relies on
charging_status change to send a cap-learning update, which in a
corner condition may not send an update when input changes status.
Fix this by always sending a capacity learning update irrespective
of the change in input/charge status.

Change-Id: Idfed395e1acad2b3b5c7b19ef137063d186af40f
Signed-off-by: default avatarKiran Gunda <kgunda@codeaurora.org>
parent d76cd6ca
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