aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-07-24 23:31:11 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-07-24 23:31:11 -0500
commitf15482d3f189c378d4e4cf2dfc69eefa522b30aa (patch)
treef5aee9590e530358fe5fcfac1f1917e6a29f4d07 /data
parent079ac51da565af4882b79c14b3a4782e5c919dd3 (diff)
downloadayatana-indicator-power-f15482d3f189c378d4e4cf2dfc69eefa522b30aa.tar.gz
ayatana-indicator-power-f15482d3f189c378d4e4cf2dfc69eefa522b30aa.tar.bz2
ayatana-indicator-power-f15482d3f189c378d4e4cf2dfc69eefa522b30aa.zip
on the bus, publish the battery's power_level as strings rather than ints
Diffstat (limited to 'data')
-rw-r--r--data/com.canonical.indicator.power.Battery.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/com.canonical.indicator.power.Battery.xml b/data/com.canonical.indicator.power.Battery.xml
index d2c8a2d..eca4524 100644
--- a/data/com.canonical.indicator.power.Battery.xml
+++ b/data/com.canonical.indicator.power.Battery.xml
@@ -3,10 +3,10 @@
<node xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
<interface name="com.canonical.indicator.power.Battery">
- <property name="PowerLevel" type="i" access="read">
+ <property name="PowerLevel" type="s" access="read">
<doc:doc>
<doc:description>
- <doc:para>The battery's power level. 0==No Low Battery, 1==Low, 2==Very Low, 3==Critical</doc:para>
+ <doc:para>The battery's power level. Possible values: 'ok', 'low', 'very_low', 'critical'</doc:para>
</doc:description>
</doc:doc>
</property>