Skip to content

Commit f0cf057

Browse files
hadesssre
authored andcommitted
ABI: testing: sysfs-class-power: Document absence of "present" property
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>
1 parent bfaecf4 commit f0cf057

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Documentation/ABI/testing/sysfs-class-power

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,8 @@ What: /sys/class/power_supply/<supply_name>/present
437437
Date: May 2007
438438
Contact: linux-pm@vger.kernel.org
439439
Description:
440-
Reports whether a battery is present or not in the system.
440+
Reports whether a battery is present or not in the system. If the
441+
property does not exist, the battery is considered to be present.
441442

442443
Access: Read
443444

0 commit comments

Comments
 (0)