diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-05-13 21:55:58 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-05-28 20:25:31 +0300 |
commit | bac705abcf345c28e419157cfcd1c44032cc9db2 (patch) | |
tree | 596f722e8b96228cfefbf2345bc04f4a7b7b4879 /include/linux/power_supply.h | |
parent | 655078f5f5286fe0ab38e90c4695001a0e15e9dd (diff) | |
download | linux-bac705abcf345c28e419157cfcd1c44032cc9db2.tar.xz |
power: supply: core: add capacity error margin property
Add a property for reporting the error margin expected
by fuel gauge chips.
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'include/linux/power_supply.h')
-rw-r--r-- | include/linux/power_supply.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index 1f60731ec7fe..453a85f25635 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -139,6 +139,7 @@ enum power_supply_property { POWER_SUPPLY_PROP_CAPACITY, /* in percents! */ POWER_SUPPLY_PROP_CAPACITY_ALERT_MIN, /* in percents! */ POWER_SUPPLY_PROP_CAPACITY_ALERT_MAX, /* in percents! */ + POWER_SUPPLY_PROP_CAPACITY_ERROR_MARGIN, /* in percents! */ POWER_SUPPLY_PROP_CAPACITY_LEVEL, POWER_SUPPLY_PROP_TEMP, POWER_SUPPLY_PROP_TEMP_MAX, |