From: Hans de Goede Date: Thu, 16 Sep 2021 12:53:21 +0000 (+0200) Subject: docs: ABI: sysfs-class-power: Documented cycle_count property X-Git-Tag: v5.16-rc1~114^2~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5d1f642aad69c76f6a260528a22701ec4a8f12f5;p=thirdparty%2Fkernel%2Flinux.git 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 --- 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