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

Commit f004be30 authored by Umang Agrawal's avatar Umang Agrawal
Browse files

power_supply: Add MAIN_FCC_MAX property



Add MAIN_FCC_MAX property to expose the upper limit of charging
current that the main charger can supply.

Change-Id: I05a8d7f8839d8605aab9549d65be420d6ad1ff3e
Signed-off-by: default avatarUmang Agrawal <uagrawal@codeaurora.org>
parent 8d296426
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -385,6 +385,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(force_recharge),
	POWER_SUPPLY_ATTR(fcc_stepper_enable),
	POWER_SUPPLY_ATTR(toggle_stat),
	POWER_SUPPLY_ATTR(main_fcc_max),
	/* 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
@@ -311,6 +311,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_FORCE_RECHARGE,
	POWER_SUPPLY_PROP_FCC_STEPPER_ENABLE,
	POWER_SUPPLY_PROP_TOGGLE_STAT,
	POWER_SUPPLY_PROP_MAIN_FCC_MAX,
	/* Local extensions of type int64_t */
	POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT,
	/* Properties of type `const char *' */