Skip to contentSkip to conversation

ABI: testing: sysfs-class-power: Document absence of "present" property

PATCH In review Bastien Nocera 2 participants 2 messages Feb 20, 2023 – Feb 25, 2023 Power supply

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 Documentation/ABI/testing/sysfs-class-power | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/ABI/testing/sysfs-class-power +2 -1
index e434fc523291..7c81f0a25a48 100644
@@ -437,7 +437,8 @@ What:		/sys/class/power_supply/<supply_name>/present
 Date:		May 2007
 Contact:	[email protected]
 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
 
Signature · 1 line
2.39.1
#1 lore raw

Hi,

Quoted 7 lines · Bastien Nocera

Document how the absence of the "present" property in the sysfs power_supply class should be handled.

---

Thanks, queued for v6.3.

-- Sebastian

Quoted 20 lines
 Documentation/ABI/testing/sysfs-class-power | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/ABI/testing/sysfs-class-power +2 -1
index e434fc523291..7c81f0a25a48 100644
@@ -437,7 +437,8 @@ What:		/sys/class/power_supply/<supply_name>/present
 Date:		May 2007
 Contact:	[email protected]
 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
 
Signature · 1 line
2.39.1