package ocamlsdl2

  1. Overview
  2. Docs
type power_state = [
  1. | `powerstate_Charged
  2. | `powerstate_Charging
  3. | `powerstate_No_Battery
  4. | `powerstate_On_Battery
  5. | `powerstate_Unknown
]
val get_power_info : unit -> power_state * int * int
OCaml

Innovation. Community. Security.