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

Commit 09efd825 authored by Xiaozhe Shi's avatar Xiaozhe Shi
Browse files

power: qpnp-fg: force BCL HPM during charge



The BCL device has 3 different power modes: Low Power Mode (LPM), Medium
Power Mode (MPM), and High Power Mode (HPM), in which it can switch
between. These different power modes corresponds to how frequent the BCL
does vbat and ibat conversions. The trigger to switch between these
modes is the battery current.

However, during charging or when an input is present, the battery
currrent can be very low. The BCL can go into MPM or LPM, which can
compromise the resolution of the BCL monitoring.

Force HPM when the device is charging in order to resolve this issue.

CRs-Fixed: 793296
Change-Id: I0b01f1749011bac3ba771a22efde9b6ba59e7ba9
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent 353f4f96
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