summaryrefslogtreecommitdiff
path: root/dbus
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-09-13 12:36:01 +0200
committerBastien Nocera <hadess@hadess.net>2021-09-13 12:51:16 +0200
commit1e53985dfa08368f89a9ace9697ab23fef4840ed (patch)
tree99a198a51fbd780921eea89d723c618fdd4e8010 /dbus
parent244e858a8619c6ff061e06f2cd9d9c6880ce9ea2 (diff)
downloadupower-1e53985dfa08368f89a9ace9697ab23fef4840ed.tar.gz
dbus: Add ChargeCycles property
Diffstat (limited to 'dbus')
-rw-r--r--dbus/org.freedesktop.UPower.Device.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/dbus/org.freedesktop.UPower.Device.xml b/dbus/org.freedesktop.UPower.Device.xml
index 4f042c1..f286aa7 100644
--- a/dbus/org.freedesktop.UPower.Device.xml
+++ b/dbus/org.freedesktop.UPower.Device.xml
@@ -477,6 +477,17 @@ method return sender=:1.386 -> dest=:1.477 reply_serial=2
</doc:doc>
</property>
+ <property name="ChargeCycles" type="i" access="read">
+ <doc:doc>
+ <doc:description>
+ <doc:para>
+ The number of charge cycles as defined by the TCO certification, or -1 if
+ that value is unknown or not applicable.
+ </doc:para>
+ </doc:description>
+ </doc:doc>
+ </property>
+
<property name="Luminosity" type="d" access="read">
<doc:doc>
<doc:description>