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

Skip to content
Commit 697c2775 authored by David Keitel's avatar David Keitel
Browse files

power: qpnp-charger: use iadc for ibat trim logic



The CURRENT_NOW property provided through BMS
only provides averaged ibat values. This is not
ideal for the ibat trim logic which requires
instantenous current readings.

Fix this by using the iadc peripheral to read
the INTERNAL_RSENSE or EXTERNAL_RSENSE channel.

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