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

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

power: qpnp-fg-gen4: Support profile loading based on battery age level



Add support for multiple profile loading based on battery age
level. User can select a profile based on batt_age_level property
runtime. If a valid profile exists for the battery age level, it
will be loaded. By default, a profile with age level 0 will be
loaded if the feature is enabled.

While at it, split the function fg_gen4_get_batt_profile() that
parse the parameters to reduce CCN warnings.

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