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

Skip to content
Commit c2da7953 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

of_batterydata: add functions to support SOH based profile loading



Add helper functions of_batterydata_get_aged_profile_count() and
of_batterydata_read_soh_aged_profiles() to support SOH based
profile loading. Since this requires SOH ranges to be parsed from
multiple profiles for the same battery, add a data structure
soh_range that can be populated for the number of available
battery profiles.

Change-Id: I9b17d1311fb158b59fa5b17390f3b1a29b76b0e9
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent c5f80a76
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