package obus
A pure OCaml implementation of DBus
Install
Dune Dependency
Authors
Maintainers
Sources
1.1.8.tar.gz
sha256=84aa0003157b0299e43b20a4127b7af04a0fd99878d7ce540bbbfbc6157dfe4f
md5=976947861f1dfa3d3da68378f25377c1
doc/obus.upower/UPower_wakeups/index.html
Module UPower_wakeups
UPower wakeups interface
Types
type data = {
data_is_userspace : bool;
(*If the wakeup is from userspace ?
*)data_id : int;
(*The process ID of the application, or the IRQ for kernel drivers.
*)data_value : float;
(*The number of wakeups per second.
*)data_cmdline : string option;
(*The command line for the application, or
*)None
for kernel drivers.data_details : string;
(*The details about the wakeup.
*)
}
The data of all the processes and drivers which contribute to the wakeups on the system.
Methods
val get_total : UPower.t -> int Lwt.t
Signals
val data_changed : UPower.t -> unit OBus_signal.t
val total_changed : UPower.t -> int OBus_signal.t
Properties
val has_capability : UPower.t -> bool OBus_property.r
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page