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

Skip to content
Commit 3b313491 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy Committed by Guru Das Srinagesh
Browse files

power: battery: Fix low vote issue with FCC taper stepper



While in taper mode, the effective result of FCC is obtained and a
reduction of 200mA is made until the taper condition goes away. if
another voter cuts in and votes lower, which results in lower FCC, a
200mA will be deducted from the new low FCC. Note the result cannot
be reversed even after the vote is cancelled or updated.

Occasionally, it may have undesired consequences. A very low vote
voting in and out in the middle can leave a low FCC for the rest
of charging cycle.

Solve the problem by adopting a dedicated FCC voter in taper mode and
doing the reduction with reference to its last vote.

CRs-Fixed: 2357939
Change-Id: I8b0c1e353659c6368ea665471b0345aa24a92eb8
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
Signed-off-by: default avatarHarry Yang <harryy@codeaurora.org>
Signed-off-by: default avatarGuru Das Srinagesh <gurus@codeaurora.org>
parent 1302c053
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