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

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

power: qpnp-charger: Fix software end of charge conditions



When charging with a charger that cannot supply high currents, the
software EOC algorithm can run into situations where it prematurely
arrives at EOC because the charging current dips below the
termination current.

Fix this by checking the VDD_LOOP_IRQ to make sure we are in constant
voltage range, and making sure there has been three consecutive EOC
counts before declaring EOC.

Change-Id: Idcb31d4ae5bf29c887ab987667d6de205f177a89
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent 499a0890
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