diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-10-15 02:45:50 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-10-15 02:45:50 +0000 |
commit | 24966789fc551c90857a848cebae75917fa9cc2d (patch) | |
tree | 30fae10e06f643d665a9ff88e9f47f3da63faf45 /data/com.canonical.indicator.power.Testing.xml | |
parent | 7251f3df13dc2503791fc7d1b485a48636a15884 (diff) | |
parent | ee53f5d18009dba3cf69ddb2e2135ae2197c43b2 (diff) | |
download | ayatana-indicator-power-24966789fc551c90857a848cebae75917fa9cc2d.tar.gz ayatana-indicator-power-24966789fc551c90857a848cebae75917fa9cc2d.tar.bz2 ayatana-indicator-power-24966789fc551c90857a848cebae75917fa9cc2d.zip |
Add mock battery support to make QA testing easier. Fixes: 1373511
Approved by: Antti Kaijanmäki, PS Jenkins bot, Ted Gould
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> |