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

Commit 1a67f3c5 authored by Fenglin Wu's avatar Fenglin Wu
Browse files

power_supply: Add SOC_REPORTING_READY property



Add SOC_REORTING_READY property to indicate if the reporting SOC is the
actual battery capacity.

CRs-Fixed: 1001496
Change-Id: Ie0b17be6c9c4f2bf00d9902a597f4d41c7311857
Signed-off-by: default avatarFenglin Wu <fenglinw@codeaurora.org>
parent cfd42c3b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -246,6 +246,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(current_capability),
	POWER_SUPPLY_ATTR(typec_mode),
	POWER_SUPPLY_ATTR(allow_hvdcp3),
	POWER_SUPPLY_ATTR(soc_reporting_ready),
	/* Local extensions of type int64_t */
	POWER_SUPPLY_ATTR(charge_counter_ext),
	/* Properties of type `const char *' */
+1 −0
Original line number Diff line number Diff line
@@ -209,6 +209,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_CURRENT_CAPABILITY,
	POWER_SUPPLY_PROP_TYPEC_MODE,
	POWER_SUPPLY_PROP_ALLOW_HVDCP3,
	POWER_SUPPLY_PROP_SOC_REPORTING_READY,
	/* Local extensions of type int64_t */
	POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT,
	/* Properties of type `const char *' */