diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-10-14 14:06:58 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-10-14 14:06:58 -0500 |
commit | c07c186a14b2d72f4f48b77058c9597e91328707 (patch) | |
tree | c28022e80ea378afb5b912bf0565ada5dfb137f6 /data/com.canonical.indicator.power.Testing.xml | |
parent | f934717fd4eaa0e205182ad1414d79eb1fb700c1 (diff) | |
download | ayatana-indicator-power-c07c186a14b2d72f4f48b77058c9597e91328707.tar.gz ayatana-indicator-power-c07c186a14b2d72f4f48b77058c9597e91328707.tar.bz2 ayatana-indicator-power-c07c186a14b2d72f4f48b77058c9597e91328707.zip |
move the testing settings to a DBus interface
Diffstat (limited to 'data/com.canonical.indicator.power.Testing.xml')
-rw-r--r-- | data/com.canonical.indicator.power.Testing.xml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/data/com.canonical.indicator.power.Testing.xml b/data/com.canonical.indicator.power.Testing.xml new file mode 100644 index 0000000..25cd059 --- /dev/null +++ b/data/com.canonical.indicator.power.Testing.xml @@ -0,0 +1,39 @@ +<?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.Testing"> + + <property name="MockBatteryEnabled" type="b" access="readwrite"> + <doc:doc> + <doc:description> + <doc:para>Whether or not the mock battery is enabled. (Default: false)</doc:para> + </doc:description> + </doc:doc> + </property> + + <property name="MockBatteryLevel" type="u" access="readwrite"> + <doc:doc> + <doc:description> + <doc:para>The charge level of the mock battery (0-100%, Default: 50%)</doc:para> + </doc:description> + </doc:doc> + </property> + + <property name="MockBatteryState" type="s" access="readwrite"> + <doc:doc> + <doc:description> + <doc:para>The mock battery's state. Possible values: 'charging', 'discharging' (Defualt: 'discharging')</doc:para> + </doc:description> + </doc:doc> + </property> + + <property name="MockBatteryMinutesLeft" type="u" access="readwrite"> + <doc:doc> + <doc:description> + <doc:para>Muntes left until the mock battery finishes charging/dischargin (Default: 30)</doc:para> + </doc:description> + </doc:doc> + </property> + + </interface> +</node> |