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:
Xiaozhe Shi <xiaozhes@codeaurora.org>
Loading
Please register or sign in to comment