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

Skip to content
Commit 3cb7e08b authored by Xiaozhe Shi's avatar Xiaozhe Shi Committed by Stephen Boyd
Browse files

power: qpnp-bms: detect constant voltage charging more accurately



Raise the CV charging threshold now that vddmax adjustments have been
implemented. Before, the BMS driver had to keep a 20 millivolt margin
because there was no guarantee that the charger will hit the set
max voltage. Now that the charger driver guarantees hitting within 5
millivolts of the max voltage, increase the CV detection threshold in
order to detect CV charging more accurately.

This change will smooth out the charging curve when the charger
transitions from CC to CV charging.

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