aboutsummaryrefslogtreecommitdiff
path: root/src/org.freedesktop.UPower.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/org.freedesktop.UPower.xml')
-rw-r--r--src/org.freedesktop.UPower.xml43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/org.freedesktop.UPower.xml b/src/org.freedesktop.UPower.xml
new file mode 100644
index 0000000..7b73583
--- /dev/null
+++ b/src/org.freedesktop.UPower.xml
@@ -0,0 +1,43 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node>
+ <interface name="org.freedesktop.UPower">
+ <method name="HibernateAllowed">
+ <arg name="allowed" type="b" direction="out"/>
+ </method>
+ <method name="Hibernate">
+ </method>
+ <method name="SuspendAllowed">
+ <arg name="allowed" type="b" direction="out"/>
+ </method>
+ <method name="Suspend">
+ </method>
+ <method name="AboutToSleep">
+ </method>
+ <method name="EnumerateDevices">
+ <arg name="devices" type="ao" direction="out"/>
+ </method>
+ <signal name="Resuming">
+ </signal>
+ <signal name="Sleeping">
+ </signal>
+ <signal name="Changed">
+ </signal>
+ <signal name="DeviceChanged">
+ <arg type="s"/>
+ </signal>
+ <signal name="DeviceRemoved">
+ <arg type="s"/>
+ </signal>
+ <signal name="DeviceAdded">
+ <arg type="s"/>
+ </signal>
+ <property name="LidIsPresent" type="b" access="read"/>
+ <property name="LidIsClosed" type="b" access="read"/>
+ <property name="OnLowBattery" type="b" access="read"/>
+ <property name="OnBattery" type="b" access="read"/>
+ <property name="CanHibernate" type="b" access="read"/>
+ <property name="CanSuspend" type="b" access="read"/>
+ <property name="DaemonVersion" type="s" access="read"/>
+ </interface>
+</node> \ No newline at end of file