aboutsummaryrefslogtreecommitdiff
path: root/src/com.lomiri.Repowerd.xml
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-07-27 21:43:00 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-28 10:17:14 +0200
commitd5a53027e58b6153b86b6c4b832cfd393bcdefb0 (patch)
tree5e2c48a3dcd5992e4c190609484706a69d3393f8 /src/com.lomiri.Repowerd.xml
parent2432f6b35d49b5f7f270a2408f26bbb658541a9d (diff)
downloadayatana-indicator-power-d5a53027e58b6153b86b6c4b832cfd393bcdefb0.tar.gz
ayatana-indicator-power-d5a53027e58b6153b86b6c4b832cfd393bcdefb0.tar.bz2
ayatana-indicator-power-d5a53027e58b6153b86b6c4b832cfd393bcdefb0.zip
Rename com.canonical.powerd -> com.lomiri.Repowerd
Diffstat (limited to 'src/com.lomiri.Repowerd.xml')
-rw-r--r--src/com.lomiri.Repowerd.xml84
1 files changed, 84 insertions, 0 deletions
diff --git a/src/com.lomiri.Repowerd.xml b/src/com.lomiri.Repowerd.xml
new file mode 100644
index 0000000..377eeab
--- /dev/null
+++ b/src/com.lomiri.Repowerd.xml
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<node name="/">
+ <interface name="com.lomiri.Repowerd">
+ <!-- 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>