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_device/index.html
Module UPower_device
UPower device interface
include OBus_proxy.Private
type t = private OBus_proxy.proxyval of_proxy : OBus_proxy.proxy -> tval to_proxy : t -> OBus_proxy.proxyTypes
Type of power source
type technology = [ | `Unknown| `Lithium_ion| `Lithium_polymer| `Lithium_iron_phosphate| `Lead_acid| `Nickel_cadmium| `Nickel_metal_hydride
]Technology used in the battery
val general_error : OBus_error.nameMethods
val get_statistics : t -> typ:string -> (float * float) list Lwt.tval get_history :
t ->
typ:string ->
timespan:int ->
resolution:int ->
(int * float * int) list Lwt.tval refresh : t -> unit Lwt.tSignals
val changed : t -> unit OBus_signal.tProperties
val recall_url : t -> string OBus_property.rval recall_vendor : t -> string OBus_property.rval recall_notice : t -> bool OBus_property.rval technology : t -> technology OBus_property.rval capacity : t -> float OBus_property.rval is_rechargeable : t -> bool OBus_property.rval state : t -> state OBus_property.rval is_present : t -> bool OBus_property.rval percentage : t -> float OBus_property.rval time_to_full : t -> int64 OBus_property.rval time_to_empty : t -> int64 OBus_property.rval voltage : t -> float OBus_property.rval energy_rate : t -> float OBus_property.rval energy_full_design : t -> float OBus_property.rval energy_full : t -> float OBus_property.rval energy_empty : t -> float OBus_property.rval energy : t -> float OBus_property.rval online : t -> bool OBus_property.rval has_statistics : t -> bool OBus_property.rval has_history : t -> bool OBus_property.rval power_supply : t -> bool OBus_property.rval typ : t -> typ OBus_property.rval update_time : t -> int64 OBus_property.rval serial : t -> string OBus_property.rval model : t -> string OBus_property.rval vendor : t -> string OBus_property.rval native_path : t -> string OBus_property.rval properties : t -> OBus_property.group sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page