aboutsummaryrefslogtreecommitdiff
path: root/data/org.ayatana.indicator.power.Battery.xml
blob: f8d20c5bc555fd34cd6c850d0fc91967de6b527d (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="org.ayatana.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="PowerPercentage" type="i" access="read">
      <doc:doc>
        <doc:description>
          <doc:para>The battery's power level in percentage.</doc:para>
        </doc:description>
      </doc:doc>
    </property>

    <property name="IsWarning" type="b" access="read">
      <doc:doc>
        <doc:description>
          <doc:para>Whether or not ayatana-indicator-power-service is warning the user about low battery power.</doc:para>
        </doc:description>
      </doc:doc>
    </property>

    <property name="IsDischarging" type="b" access="read">
      <doc:doc>
        <doc:description>
          <doc:para>Whether or not the battery is discharging</doc:para>
        </doc:description>
      </doc:doc>
    </property>

  </interface>
</node>