mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-04-06 09:03:08 +00:00
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: Ken Tsou <kentsou@google.com> (cherry picked from commit 304f7a3744b14910ffaa0dfe1c61b938d04a7921) (cherry picked from commit 7f340dc74b737f300625e0278c97d343fcaa9084) (cherry picked from commit 9741511073c137120ac6cc66aa7c31f645b1d61d) Signed-off-by: Mark Salyzyn <salyzyn@google.com> Bug: 150789066
This commit is contained in:
@ -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),
|
||||
|
||||
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user