module UPower_wakeups:sig
..end
type
data = {
|
data_is_userspace : |
(* |
If the wakeup is from userspace ?
| *) |
|
data_id : |
(* |
The process ID of the application, or the IRQ for kernel
drivers.
| *) |
|
data_value : |
(* |
The number of wakeups per second.
| *) |
|
data_cmdline : |
(* |
The command line for the application, or
None for kernel
drivers. | *) |
|
data_details : |
(* |
The details about the wakeup.
| *) |
val get_data : UPower.t -> data list Lwt.t
val get_total : UPower.t -> int Lwt.t
val data_changed : UPower.t -> unit OBus_signal.t
val total_changed : UPower.t -> int OBus_signal.t
val has_capability : UPower.t -> bool OBus_property.r