Module fermium::power

source ·
Expand description

Lets you get power info about the system.

Structs

The basic state for the system’s power supply.

Constants

Plugged in, battery charged.
Plugged in, charging battery.
Plugged in, no battery available.
Not plugged in, running on the battery.
Cannot determine power status.

Functions

Get the current power supply details.