summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2023-02-20 14:10:18 +0100
committerSebastian Reichel <sebastian.reichel@collabora.com>2023-02-25 01:16:50 +0100
commitf0cf05759497dbc90303adcbdf3d13a54bdaf97b (patch)
tree102f558a4dfede07bf4082c37c1915669ea9ce9e /Documentation/ABI
parentpower: supply: fix null pointer check order in __power_supply_register (diff)
downloadlinux-f0cf05759497dbc90303adcbdf3d13a54bdaf97b.tar.xz
linux-f0cf05759497dbc90303adcbdf3d13a54bdaf97b.zip
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>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-class-power3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-power b/Documentation/ABI/testing/sysfs-class-power
index e434fc523291..7c81f0a25a48 100644
--- a/Documentation/ABI/testing/sysfs-class-power
+++ b/Documentation/ABI/testing/sysfs-class-power
@@ -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