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

Commit e79508d1 authored by Xiaozhe Shi's avatar Xiaozhe Shi
Browse files

power: qpnp-smbcharger: use the fuel gauge ADC as termination source



Currently the charger always uses the analog current comparators in
order to detect the end of charge condition. However, if the charger is
using the fuel gauge charging resume function, it could reach end of
charge at a time where the fuel gauge still thinks that SOC is less than
full. This can cause the charger to repeatedly enter charging cycles.

Fix this by changing the charger to use the fuel gauge adcs if fuel
gauge is selected as the resume source.

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