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

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

power: qpnp-charger: add API to enable and disable charging



The power supply framework exposes an API which allows to
disable and enable charging.

Add this feature to the qpnp-charger driver to allow
other drivers to enable and disable charging.

When charging is disabled and a battery is present the charger
is forced to run of the battery even if a charger adapter
is connected.

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