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

Skip to content
Commit 833fba97 authored by Guru Das Srinagesh's avatar Guru Das Srinagesh Committed by Umang Agrawal
Browse files

qcom: battery: Modify FCC split logic to use slave's limit



Currently, the parallel (slave) charger's share of FCC is limited by
only the BCL. Since SMB1354 can only supply a max of 2.5A FCC, this can
result in a "loss" of current in situations where it is allocated > 2.5A
of current as a result of the existing FCC split logic.

For example, if the SMB1354 is allocated 3A, the total FCC (main +
charger) will be short by 0.5A (3 - 2.5) because of the charger's FCC
limit.

Therefore, modify FCC split logic to use the parallel charger's FCC
limit to further restrict parallel's portion of FCC. This will ensure
that any current that exceeds 2.5A will be part of the main's share.

CRs-Fixed: 2170280
Change-Id: I01cd13d509a37963370c4dc2c815500fd1e821b9
Signed-off-by: default avatarGuru Das Srinagesh <gurus@codeaurora.org>
Signed-off-by: default avatarUmang Agrawal <uagrawal@codeaurora.org>
parent fb86f293
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