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

Commit 7df4d164 authored by Ashay Jaiswal's avatar Ashay Jaiswal Committed by Subbaraman Narayanamurthy
Browse files

power: qpnp-smbcharger: fix battery status reporting



Charger driver reports battery FULL status based on the
BAT_TCC_REACHED_RT_STS bit, there is a possibility of
this bit remaining set even after removal of charger
resulting in reporting of FULL status with no input present.

Fix this by reporting DISCHARGING if no input is present
before checking for BAT_TCC_REACHED_RT_STS bit.

CRs-Fixed: 851399
Change-Id: Ice43e758e0ecf31ac0ec3ccff0578a4558b77b31
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent 74eae611
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