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

Commit 93a13954 authored by Ashay Jaiswal's avatar Ashay Jaiswal Committed by Gerrit - the friendly Code Review server
Browse files

power_supply: Add HVDCP_OPTI_ALLOWED property



Add POWER_SUPPLY_PROP_HVDCP_OPTI_ALLOWED to enable/disable
optimization by userspace daemon.

Change-Id: I084711fe4ef49c942005da1a986afed13e727312
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent b71c1bfd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -367,6 +367,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(batt_profile_version),
	POWER_SUPPLY_ATTR(batt_full_current),
	POWER_SUPPLY_ATTR(recharge_soc),
	POWER_SUPPLY_ATTR(hvdcp_opti_allowed),
	/* 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
@@ -280,6 +280,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_BATT_PROFILE_VERSION,
	POWER_SUPPLY_PROP_BATT_FULL_CURRENT,
	POWER_SUPPLY_PROP_RECHARGE_SOC,
	POWER_SUPPLY_PROP_HVDCP_OPTI_ALLOWED,
	/* Local extensions of type int64_t */
	POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT,
	/* Properties of type `const char *' */