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

Commit eecc3db9 authored by Umang Agrawal's avatar Umang Agrawal Committed by Mark Salyzyn
Browse files

ANDROID: GKI: power-supply: Add CC_SOC power supply property



Add CC_SOC power supply property to expose cc soc status from the
qgauge and fuel gauge drivers.

Signed-off-by: default avatarUmang Agrawal <uagrawal@codeaurora.org>
(cherry picked from commit 5e3a9573)
Signed-off-by: default avatarMark Salyzyn <salyzyn@google.com>
Bug: 150789066
Change-Id: Iacfc77d97ce14c783338ad6ced0c7356a1a63c83
parent 48c932ac
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -449,6 +449,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(main_fcc_max),
	POWER_SUPPLY_ATTR(fg_reset),
	POWER_SUPPLY_ATTR(qc_opti_disable),
	POWER_SUPPLY_ATTR(cc_soc),
	/* Charge pump properties */
	POWER_SUPPLY_ATTR(cp_status1),
	POWER_SUPPLY_ATTR(cp_status2),
+1 −0
Original line number Diff line number Diff line
@@ -321,6 +321,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_MAIN_FCC_MAX,
	POWER_SUPPLY_PROP_FG_RESET,
	POWER_SUPPLY_PROP_QC_OPTI_DISABLE,
	POWER_SUPPLY_PROP_CC_SOC,
	/* Charge pump properties */
	POWER_SUPPLY_PROP_CP_STATUS1,
	POWER_SUPPLY_PROP_CP_STATUS2,