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

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

power: batterydata-lib: Add an API to interpolate OCV-SOC slope



Slope of a SOC-OCV curve is mathematically defined as
(OCV1 - OCV2) / (SOC1 - SOC2). It defines the rate of
change of OCV across SOC.

Change-Id: Iad1aed4fbccb45488109aae8713b1fc9accebe90
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 5f4d31f2
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