2
"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
3
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd" [
4
<!ENTITY ERROR_GENERAL "org.freedesktop.UPower.GeneralError">
6
<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
7
<interface name="org.freedesktop.UPower.Wakeups">
11
org.freedesktop.UPower.Wakeups is a DBus interface implimented
13
It allows applications to watch what applications and drivers are
14
causing the wakeups on the system.
19
<property name="HasCapability" type="b" access="read">
23
If the system has the ability to profile wakeups.
29
<!-- ************************************************************ -->
30
<method name="GetTotal">
31
<arg name="value" direction="out" type="u">
34
The number of wakeups per second.
41
Get the number of wakeups per second.
45
<doc:error name="&ERROR_GENERAL;">if an error occured while getting the latency</doc:error>
50
<!-- ************************************************************ -->
51
<signal name="TotalChanged">
52
<arg name="value" direction="out" type="u">
55
The number of wakeups per second.
62
The number of wakeups per second has changed.
68
<!-- ************************************************************ -->
69
<method name="GetData">
70
<arg name="data" direction="out" type="a(budss)">
73
The data of all the processes and drivers which contribute to the
74
wakeups on the system.
77
<doc:term>is_userspace</doc:term>
79
If the wakeup is from userspace.
83
<doc:term>id</doc:term>
85
The process ID of the application, or the IRQ for kernel drivers.
89
<doc:term>value</doc:term>
91
The number of wakeups per second.
95
<doc:term>cmdline</doc:term>
97
The command line for the application, or NULL for kernel drivers.
101
<doc:term>details</doc:term>
103
The details about the wakeup.
107
</doc:summary></doc:doc>
112
Gets all the wakeups from drivers and applications.
118
<!-- ************************************************************ -->
119
<signal name="DataChanged">
123
The wakeup data has changed.