aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2021-11-08 17:27:05 +0100
committerSebastian Reichel <sebastian.reichel@collabora.com>2021-11-16 16:10:07 +0100
commit77d641baa3c8e18a1056bec6c64c6103c1a17b1e (patch)
tree574e1021337ba441fa1c771bcc7c17ba403b9fcb /Documentation/ABI
parentdt-bindings: power: supply: add Maxim MAX77976 battery charger (diff)
downloadlinux-dev-77d641baa3c8e18a1056bec6c64c6103c1a17b1e.tar.xz
linux-dev-77d641baa3c8e18a1056bec6c64c6103c1a17b1e.zip
power: supply: core: add POWER_SUPPLY_HEALTH_NO_BATTERY
Some chargers can keep the system powered from the mains even when no battery is present. It this case none of the currently defined health statuses applies. Add a new status to report that no battery is present. Suggested-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-class-power2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-power b/Documentation/ABI/testing/sysfs-class-power
index f7904efc4cfa..a0b2a4280e38 100644
--- a/Documentation/ABI/testing/sysfs-class-power
+++ b/Documentation/ABI/testing/sysfs-class-power
@@ -413,7 +413,7 @@ Description:
"Over voltage", "Unspecified failure", "Cold",
"Watchdog timer expire", "Safety timer expire",
"Over current", "Calibration required", "Warm",
- "Cool", "Hot"
+ "Cool", "Hot", "No battery"
What: /sys/class/power_supply/<supply_name>/precharge_current
Date: June 2017