ABI: testing: sysfs-class-power: Document absence of "present" property
authorBastien Nocera <hadess@hadess.net>
Mon, 20 Feb 2023 13:10:18 +0000 (14:10 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sat, 25 Feb 2023 00:16:50 +0000 (01:16 +0100)
Document how the absence of the "present" property in the sysfs
power_supply class should be handled.

Link: https://gitlab.freedesktop.org/upower/upower/-/merge_requests/173
Cc: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Documentation/ABI/testing/sysfs-class-power

index e434fc5..7c81f0a 100644 (file)
@@ -437,7 +437,8 @@ What:               /sys/class/power_supply/<supply_name>/present
 Date:          May 2007
 Contact:       linux-pm@vger.kernel.org
 Description:
-               Reports whether a battery is present or not in the system.
+               Reports whether a battery is present or not in the system. If the
+               property does not exist, the battery is considered to be present.
 
                Access: Read