aboutsummaryrefslogtreecommitdiff
path: root/data/com.canonical.indicator.power.Testing.xml
blob: 72cf6cf4507bd4d2cbfeb259575b7abf97da79b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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' (Default: 'discharging')</doc:para>
        </doc:description>
      </doc:doc>
    </property>

    <property name="MockBatteryMinutesLeft" type="u" access="readwrite">
      <doc:doc>
        <doc:description>
          <doc:para>Minutes left until the mock battery finishes charging/discharging (Default: 30)</doc:para>
        </doc:description>
      </doc:doc>
    </property>

  </interface>
</node>