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

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

power: qpnp-charger: Report FULL sooner



At end of charge, the charger driver disables charging for 2 seconds
in order to stop charging. During these two seconds, the charge_done
flag is not set, so querying the battery power supply reports
DISCHARGING. Move setting the charge_done flag above this wait in
order to report FULL charge immediately.

Change-Id: I23e6fa18b626eb7360df23c4f30f660439a041af
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent 65f63699
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