aboutsummaryrefslogtreecommitdiff
path: root/data/com.canonical.indicator.power.Battery.xml
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-07-30 10:52:30 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-07-30 10:52:30 +0000
commitb4f91b1d69a66c2d3e97feeed357243ddfda451f (patch)
tree90e88aefae6fc2eeb49ad4afed75b1f8d2788e6a /data/com.canonical.indicator.power.Battery.xml
parent967a5479db7d280255f669102f045076e09420d8 (diff)
parentb46ec7d0cc35d10197a1a91f473e0a655188f6eb (diff)
downloadayatana-indicator-power-b4f91b1d69a66c2d3e97feeed357243ddfda451f.tar.gz
ayatana-indicator-power-b4f91b1d69a66c2d3e97feeed357243ddfda451f.tar.bz2
ayatana-indicator-power-b4f91b1d69a66c2d3e97feeed357243ddfda451f.zip
Add low-battery notifications. Fixes: 1317858, 1317860
Approved by: PS Jenkins bot, Lars Uebernickel
Diffstat (limited to 'data/com.canonical.indicator.power.Battery.xml')
-rw-r--r--data/com.canonical.indicator.power.Battery.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/data/com.canonical.indicator.power.Battery.xml b/data/com.canonical.indicator.power.Battery.xml
new file mode 100644
index 0000000..eca4524
--- /dev/null
+++ b/data/com.canonical.indicator.power.Battery.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
+ <interface name="com.canonical.indicator.power.Battery">
+
+ <property name="PowerLevel" type="s" access="read">
+ <doc:doc>
+ <doc:description>
+ <doc:para>The battery's power level. Possible values: 'ok', 'low', 'very_low', 'critical'</doc:para>
+ </doc:description>
+ </doc:doc>
+ </property>
+
+ <property name="IsWarning" type="b" access="read">
+ <doc:doc>
+ <doc:description>
+ <doc:para>Whether or not indicator-power-service is warning the user about low battery power.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </property>
+
+ </interface>
+</node>