aboutsummaryrefslogtreecommitdiff
path: root/src/com.canonical.powerd.xml
blob: b5b4ac497b6291ccdd53d9b0f60c7b921bbcc498 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?xml version="1.0" encoding="UTF-8"?>
<node name="/">
  <interface name="com.canonical.powerd">
    <!-- Properties -->

    <property name="brightness" type="i" access="readwrite">
    </property>


    <!-- Functions -->
    <method name="requestSysState">
      <arg type="s" name="name" direction="in" />
      <arg type="i" name="state" direction="in" />
      <arg type="s" name="cookie" direction="out" />
    </method>

    <method name="clearSysState">
      <arg type="s" name="cookie" direction="in" />
    </method>

    <method name="requestWakeup">
      <arg type="s" name="name" direction="in" />
      <arg type="t" name="time" direction="in" />
      <arg type="s" name="cookie" direction="out" />
    </method>

    <method name="enableProximityHandling">
      <arg type="s" name="name" direction="in" />
    </method>

    <method name="disableProximityHandling">
      <arg type="s" name="name" direction="in" />
    </method>

    <method name="clearWakeup">
      <arg type="s" name="cookie" direction="in" />
    </method>

    <method name="registerClient">
        <arg type="s" name="name" direction="in" />
    </method>

    <method name="unregisterClient">
        <arg type="s" name="name" direction="in" />
    </method>

    <method name="ackStateChange">
        <arg type="i" name="state" direction="in" />
    </method>

    <!-- User settings -->
    <method name="userAutobrightnessEnable">
        <arg type="b" name="enable" direction="in" />
    </method>

    <method name="getBrightnessParams">
        <!-- Returns min, max, and default brighness and whether or not
             autobrightness is supported, in that order -->
        <arg type="(iiiib)" name="params" direction="out" />
    </method>

    <method name="setUserBrightness">
        <arg type="i" name="brightness" direction="in" />
    </method>

    <!-- for debug/testing -->
    <method name="listSysRequests">
      <arg type="a(ssi)" name="requestList" direction="out" />
    </method>

    <method name="getSysRequestStats">
      <arg type="a(ssuttt)" name="requestStats" direction="out" />
    </method>

    <!-- Signals -->
    <signal name="SysPowerStateChange">
      <arg type="i" name="sysState" direction="out" />
    </signal>

    <signal name="Wakeup">
    </signal>

  </interface>
</node>