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

Commit 350a47b2 authored by Anirudh Ghayal's avatar Anirudh Ghayal
Browse files

power_supply: Add BATT_PROFILE_VERSION property



Add POWER_SUPPLY_PROP_BATT_PROFILE_VERSION to report
the version of the battery profile used by Qgauge.

Change-Id: I857c59ba2c4a9b2648f7aa708d6feba7295dd3cc
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 901d889a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -324,6 +324,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(parallel_fcc_max),
	POWER_SUPPLY_ATTR(min_icl),
	POWER_SUPPLY_ATTR(moisture_detected),
	POWER_SUPPLY_ATTR(batt_profile_version),
	POWER_SUPPLY_ATTR(batt_full_current),
	POWER_SUPPLY_ATTR(recharge_soc),
	/* Local extensions of type int64_t */
+1 −0
Original line number Diff line number Diff line
@@ -275,6 +275,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_PARALLEL_FCC_MAX,
	POWER_SUPPLY_PROP_MIN_ICL,
	POWER_SUPPLY_PROP_MOISTURE_DETECTED,
	POWER_SUPPLY_PROP_BATT_PROFILE_VERSION,
	POWER_SUPPLY_PROP_BATT_FULL_CURRENT,
	POWER_SUPPLY_PROP_RECHARGE_SOC,
	/* Local extensions of type int64_t */