mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-04-05 22:03:12 +00:00
ANDROID: GKI: power_supply: Add vendor specific dead battery property
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com> Bug: 139264914 (cherry picked from commit 3f1939e10d25e78ab864720ddbc292cf6ae5e03d) Signed-off-by: Mark Salyzyn <salyzyn@google.com> Bug: 150789066 Change-Id: Iaa409f51e14c131801f70661838572d5aab94a08
This commit is contained in:
committed by
Mark Salyzyn
parent
6c9a8542ce
commit
cd5c0c7938
@ -466,6 +466,7 @@ static struct device_attribute power_supply_attrs[] = {
|
||||
POWER_SUPPLY_ATTR(skin_health),
|
||||
POWER_SUPPLY_ATTR(charge_disable),
|
||||
POWER_SUPPLY_ATTR(adapter_details),
|
||||
POWER_SUPPLY_ATTR(dead_battery),
|
||||
/* Charge pump properties */
|
||||
POWER_SUPPLY_ATTR(cp_status1),
|
||||
POWER_SUPPLY_ATTR(cp_status2),
|
||||
|
||||
@ -337,6 +337,7 @@ enum power_supply_property {
|
||||
POWER_SUPPLY_PROP_SKIN_HEALTH,
|
||||
POWER_SUPPLY_PROP_CHARGE_DISABLE,
|
||||
POWER_SUPPLY_PROP_ADAPTER_DETAILS,
|
||||
POWER_SUPPLY_PROP_DEAD_BATTERY,
|
||||
/* Charge pump properties */
|
||||
POWER_SUPPLY_PROP_CP_STATUS1,
|
||||
POWER_SUPPLY_PROP_CP_STATUS2,
|
||||
|
||||
Reference in New Issue
Block a user