mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-04-06 12:13:13 +00:00
ANDROID: GKI: power: supply: Add POWER_SUPPLY_PROP_CC_UAH
Partially taken from commit d575e152ce0282819b8696e5a9fe0aac4f205b91
("qpnp-qg: get cc_uah from qg psy property")
Signed-off-by: Jack Wu <wjack@google.com>
Bug: 141451339
(cherry picked from commit d575e152ce0282819b8696e5a9fe0aac4f205b91)
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 150789066
Change-Id: If3bb3c34cc2065cce0ac42889d1b5118e716a73f
This commit is contained in:
@ -474,6 +474,7 @@ static struct device_attribute power_supply_attrs[] = {
|
||||
POWER_SUPPLY_ATTR(adapter_details),
|
||||
POWER_SUPPLY_ATTR(dead_battery),
|
||||
POWER_SUPPLY_ATTR(voltage_fifo),
|
||||
POWER_SUPPLY_ATTR(cc_uah),
|
||||
/* Capacity Estimation */
|
||||
POWER_SUPPLY_ATTR(batt_ce_ctrl),
|
||||
POWER_SUPPLY_ATTR(batt_ce_full),
|
||||
|
||||
@ -339,6 +339,7 @@ enum power_supply_property {
|
||||
POWER_SUPPLY_PROP_ADAPTER_DETAILS,
|
||||
POWER_SUPPLY_PROP_DEAD_BATTERY,
|
||||
POWER_SUPPLY_PROP_VOLTAGE_FIFO,
|
||||
POWER_SUPPLY_PROP_CC_UAH,
|
||||
/* Capacity Estimation */
|
||||
POWER_SUPPLY_PROP_BATT_CE_CTRL,
|
||||
POWER_SUPPLY_PROP_CHARGE_FULL_ESTIMATE,
|
||||
|
||||
Reference in New Issue
Block a user