diff options
author | Marius Gripsgard <mariogrip@debian.org> | 2023-09-18 01:11:26 +0200 |
---|---|---|
committer | Marius Gripsgard <mariogrip@debian.org> | 2023-09-18 01:11:26 +0200 |
commit | b794ebd02031baa6c9b1cffa8e298c41ad24416f (patch) | |
tree | 94bfc3ba78af597d56fe910aac950e41d44d4e26 /data | |
parent | 2aefd8473fd942c7efb65a2cd691925c0d7a35e3 (diff) | |
download | ayatana-indicator-power-b794ebd02031baa6c9b1cffa8e298c41ad24416f.tar.gz ayatana-indicator-power-b794ebd02031baa6c9b1cffa8e298c41ad24416f.tar.bz2 ayatana-indicator-power-b794ebd02031baa6c9b1cffa8e298c41ad24416f.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.xml | 16 |
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> |