aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMarius Gripsgard <mariogrip@debian.org>2023-09-18 01:11:26 +0200
committerMarius Gripsgard <mariogrip@debian.org>2023-09-18 01:11:26 +0200
commitb794ebd02031baa6c9b1cffa8e298c41ad24416f (patch)
tree94bfc3ba78af597d56fe910aac950e41d44d4e26 /data
parent2aefd8473fd942c7efb65a2cd691925c0d7a35e3 (diff)
downloadayatana-indicator-power-personal/mariogrip/dbus-updates.tar.gz
ayatana-indicator-power-personal/mariogrip/dbus-updates.tar.bz2
ayatana-indicator-power-personal/mariogrip/dbus-updates.zip
dbus: Add power percentage and is dischargingpersonal/mariogrip/dbus-updates
This exposes power percentage and is discharging to the dbus interface.
Diffstat (limited to 'data')
-rw-r--r--data/org.ayatana.indicator.power.Battery.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/data/org.ayatana.indicator.power.Battery.xml b/data/org.ayatana.indicator.power.Battery.xml
index 3bf6959..f8d20c5 100644
--- a/data/org.ayatana.indicator.power.Battery.xml
+++ b/data/org.ayatana.indicator.power.Battery.xml
@@ -11,6 +11,14 @@
</doc:doc>
</property>
+ <property name="PowerPercentage" type="i" access="read">
+ <doc:doc>
+ <doc:description>
+ <doc:para>The battery's power level in percentage.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </property>
+
<property name="IsWarning" type="b" access="read">
<doc:doc>
<doc:description>
@@ -19,5 +27,13 @@
</doc:doc>
</property>
+ <property name="IsDischarging" type="b" access="read">
+ <doc:doc>
+ <doc:description>
+ <doc:para>Whether or not the battery is discharging</doc:para>
+ </doc:description>
+ </doc:doc>
+ </property>
+
</interface>
</node>