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

Skip to content
Commit c9e1a351 authored by David Keitel's avatar David Keitel Committed by Stephen Boyd
Browse files

power: qpnp-charger: fix dead battery charging



Userspace requires for the ONLINE property
to be set for at least power supply if the
battery capacity is at zero during bootup.

Thus, make sure to set the usb power supply
to report the online property accordingly once
it has been deemed to be present during probe.

Also, raise the vin_min voltage to avoid the
VBUS voltage to dip below the UVD threshold and
accidentally causing a charger disconnection
event which can lead to a UVLO reset during
dead battery charging. This is due to chg_gone
being a decision factor of the reverse boost
workaround and it sets the ON_BAT_FORCE bit
which, in a weak battery case, can cause the
device to reset.

Change-Id: I0bea29309285bf25bd779c0a6d8ef57370898d4c
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent d4ba49ec
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