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

Commit e58a0534 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy Committed by Mark Salyzyn
Browse files

ANDROID: GKI: power_supply: add batt_age_level property



Add batt_age_level property to support loading multiple profiles
based on the battery age level specified by the user.

Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
(cherry picked from commit 0fe2e0aa)
Signed-off-by: default avatarMark Salyzyn <salyzyn@google.com>
Bug: 150789066
Change-Id: I41e61c615f2d1df988a0de83e4e2dbddd7a36441
parent eecc3db9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -450,6 +450,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(fg_reset),
	POWER_SUPPLY_ATTR(qc_opti_disable),
	POWER_SUPPLY_ATTR(cc_soc),
	POWER_SUPPLY_ATTR(batt_age_level),
	/* Charge pump properties */
	POWER_SUPPLY_ATTR(cp_status1),
	POWER_SUPPLY_ATTR(cp_status2),
+1 −0
Original line number Diff line number Diff line
@@ -322,6 +322,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_FG_RESET,
	POWER_SUPPLY_PROP_QC_OPTI_DISABLE,
	POWER_SUPPLY_PROP_CC_SOC,
	POWER_SUPPLY_PROP_BATT_AGE_LEVEL,
	/* Charge pump properties */
	POWER_SUPPLY_PROP_CP_STATUS1,
	POWER_SUPPLY_PROP_CP_STATUS2,