diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-05-13 21:56:00 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-05-28 20:25:31 +0300 |
commit | 601c2a543f02da484362b3ff9074b2cfe08750de (patch) | |
tree | 69e8aad4e7ec6a181d22ec9dcb99135f3aba770c /include/linux/power_supply.h | |
parent | feabe49e46bb556b8d43e28d4a0d459940f7a5cb (diff) | |
download | linux-601c2a543f02da484362b3ff9074b2cfe08750de.tar.xz |
power: supply: core: add POWER_SUPPLY_HEALTH_CALIBRATION_REQUIRED
Some battery fuel gauges know when the battery needs to
be recalibrated before providing usable values. This
should be reported via the health property.
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 63ffe2a0a87b..ac1345a48ad0 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -61,6 +61,7 @@ enum { POWER_SUPPLY_HEALTH_WATCHDOG_TIMER_EXPIRE, POWER_SUPPLY_HEALTH_SAFETY_TIMER_EXPIRE, POWER_SUPPLY_HEALTH_OVERCURRENT, + POWER_SUPPLY_HEALTH_CALIBRATION_REQUIRED, }; enum { |