From 5d1f642aad69c76f6a260528a22701ec4a8f12f5 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Thu, 16 Sep 2021 14:53:21 +0200 Subject: [PATCH] docs: ABI: sysfs-class-power: Documented cycle_count property Commit c955fe8e0bdd ("POWER: Add support for cycle_count") added a POWER_SUPPLY_PROP_CYCLE_COUNT "cycle_count" property to the set of standard power-supply properties, but this was never documented, document it now. Link: https://gitlab.freedesktop.org/upower/upower/-/issues/152 Reported-by: Bastien Nocera Signed-off-by: Hans de Goede Signed-off-by: Sebastian Reichel --- Documentation/ABI/testing/sysfs-class-power | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-class-power b/Documentation/ABI/testing/sysfs-class-power index ca830c6cd8094..f7904efc4cfa0 100644 --- a/Documentation/ABI/testing/sysfs-class-power +++ b/Documentation/ABI/testing/sysfs-class-power @@ -480,6 +480,19 @@ Description: Valid values: Represented in microvolts +What: /sys/class/power_supply//cycle_count +Date: January 2010 +Contact: linux-pm@vger.kernel.org +Description: + Reports the number of full charge + discharge cycles the + battery has undergone. + + Access: Read + + Valid values: + Integer > 0: representing full cycles + Integer = 0: cycle_count info is not available + **USB Properties** What: /sys/class/power_supply//input_current_limit -- 2.30.2