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

Commit 5b0ad681 authored by Nicholas Troast's avatar Nicholas Troast
Browse files

power_supply: add PARALLEL_DISABLE property



The PARALLEL_DISABLE property is used to enable or disable parallel
charging.

Change-Id: If2845efa942abc5849890b45de525222632b32db
Signed-off-by: default avatarNicholas Troast <ntroast@codeaurora.org>
parent f79b613e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -269,6 +269,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(pd_active),
	POWER_SUPPLY_ATTR(charger_temp),
	POWER_SUPPLY_ATTR(charger_temp_max),
	POWER_SUPPLY_ATTR(parallel_disable),
	/* 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
@@ -218,6 +218,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_PD_ACTIVE,
	POWER_SUPPLY_PROP_CHARGER_TEMP,
	POWER_SUPPLY_PROP_CHARGER_TEMP_MAX,
	POWER_SUPPLY_PROP_PARALLEL_DISABLE,
	/* Local extensions of type int64_t */
	POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT,
	/* Properties of type `const char *' */