package obus
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
A pure OCaml implementation of DBus
Install
dune-project
Dependency
Authors
Maintainers
Sources
1.1.8.tar.gz
sha256=84aa0003157b0299e43b20a4127b7af04a0fd99878d7ce540bbbfbc6157dfe4f
md5=976947861f1dfa3d3da68378f25377c1
doc/obus.upower/UPower/index.html
Module UPower
UPower main interface
include OBus_peer.Private
type t = private OBus_peer.peerval of_peer : OBus_peer.peer -> tval to_peer : t -> OBus_peer.peerval daemon : unit -> t Lwt.tdaemon () returns the peer object for the upower daemon
val general_error : OBus_error.nameMethods
val hibernate_allowed : t -> bool Lwt.tval hibernate : t -> unit Lwt.tval suspend_allowed : t -> bool Lwt.tval suspend : t -> unit Lwt.tval about_to_sleep : t -> unit Lwt.tval enumerate_devices : t -> UPower_device.t list Lwt.tSignals
val resuming : t -> unit OBus_signal.tval sleeping : t -> unit OBus_signal.tval changed : t -> unit OBus_signal.tval device_changed : t -> UPower_device.t OBus_signal.tval device_removed : t -> UPower_device.t OBus_signal.tval device_added : t -> UPower_device.t OBus_signal.tProperties
val lid_is_present : t -> bool OBus_property.rval lid_is_closed : t -> bool OBus_property.rval on_low_battery : t -> bool OBus_property.rval on_battery : t -> bool OBus_property.rval can_hibernate : t -> bool OBus_property.rval can_suspend : t -> bool OBus_property.rval daemon_version : t -> string OBus_property.rval properties : t -> OBus_property.group sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page