+151
−0
+10
−0
+1
−0
drivers/power/qpnp-vm-bms.c
0 → 100644
+2957
−0
File added.
Preview size limit exceeded, changes collapsed.
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The voltage-mode BMS driver uses periodic VBATT readings
to calculate the state of charge(SOC) of the battery.
The final SOC is calculated by an userspace application
after post-processing the VBATT readings.
Change-Id: I3c19e8dc7f1952c4e8274209d55aad176d90a180
Signed-off-by:
Anirudh Ghayal <aghayal@codeaurora.org>
File added.
Preview size limit exceeded, changes collapsed.