package obus
Pure Ocaml implementation of the D-Bus protocol
Install
Dune Dependency
Authors
Maintainers
Sources
1.2.2.tar.gz
sha256=3bf0aeb00bf90cd4111483b37cefcb39af38ad6db1aeb6949a2fbecc13ff9a90
md5=7dd48f9bde3e069898fa08e9972596b5
doc/obus.upower/UPower/index.html
Module UPower
UPower main interface
include OBus_peer.Private
type t = private OBus_peer.peer
val of_peer : OBus_peer.peer -> t
val to_peer : t -> OBus_peer.peer
val general_error : OBus_error.name
Methods
val enumerate_devices : t -> UPower_device.t list Lwt.t
Signals
val resuming : t -> unit OBus_signal.t
val sleeping : t -> unit OBus_signal.t
val changed : t -> unit OBus_signal.t
val device_changed : t -> UPower_device.t OBus_signal.t
val device_removed : t -> UPower_device.t OBus_signal.t
val device_added : t -> UPower_device.t OBus_signal.t
Properties
val lid_is_present : t -> bool OBus_property.r
val lid_is_closed : t -> bool OBus_property.r
val on_low_battery : t -> bool OBus_property.r
val on_battery : t -> bool OBus_property.r
val can_hibernate : t -> bool OBus_property.r
val can_suspend : t -> bool OBus_property.r
val daemon_version : t -> string OBus_property.r
val properties : t -> OBus_property.group
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page