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

Commit 5635d764 authored by Ken Tsou's avatar Ken Tsou Committed by Mark Salyzyn
Browse files

ANDROID: GKI: power_supply: add more soc properties



  cutoff_soc, sys_soc, batt_soc
  for battery history collection

Bug: 151994696
Change-Id: Ie564f89799d866e809c62ffe7a4875332d3ce032
Signed-off-by: default avatarKen Tsou <kentsou@google.com>
(cherry picked from commit 304f7a3744b14910ffaa0dfe1c61b938d04a7921)
(cherry picked from commit 7f340dc74b737f300625e0278c97d343fcaa9084)
(cherry picked from commit 9741511073c137120ac6cc66aa7c31f645b1d61d)
Signed-off-by: default avatarMark Salyzyn <salyzyn@google.com>
Bug: 150789066
parent 65f5cee0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -478,6 +478,9 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(operating_freq),
	POWER_SUPPLY_ATTR(aicl_delay),
	POWER_SUPPLY_ATTR(aicl_icl),
	POWER_SUPPLY_ATTR(cutoff_soc),
	POWER_SUPPLY_ATTR(sys_soc),
	POWER_SUPPLY_ATTR(batt_soc),
	/* Capacity Estimation */
	POWER_SUPPLY_ATTR(batt_ce_ctrl),
	POWER_SUPPLY_ATTR(batt_ce_full),
+3 −0
Original line number Diff line number Diff line
@@ -359,6 +359,9 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_OPERATING_FREQ,
	POWER_SUPPLY_PROP_AICL_DELAY,
	POWER_SUPPLY_PROP_AICL_ICL,
	POWER_SUPPLY_PROP_CUTOFF_SOC,
	POWER_SUPPLY_PROP_SYS_SOC,
	POWER_SUPPLY_PROP_BATT_SOC,
	/* Capacity Estimation */
	POWER_SUPPLY_PROP_BATT_CE_CTRL,
	POWER_SUPPLY_PROP_CHARGE_FULL_ESTIMATE,