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

Skip to content
Commit 9b4d0765 authored by Anirudh Ghayal's avatar Anirudh Ghayal
Browse files

power: qpnp-qg: Add ESR estimation



Add support for online ESR (equivalent series resistance)
estimation for the battery. It is currently enabled during
charge.

The QG driver periodically (configurable) fires ESR
pulses and calculates the ESR. The ESR is qualified and
filtered before passing it to the userspace for further
processing. The processed values from userspace are
stored back into SDAM for subsequent reboots.

While at it, also add a few DT properties for ESR and update
the capacity learning default values.

Change-Id: Ic343f0d8a0109020fe384089355cfbe9a92f9a78
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 8fc190af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment