System.Power

This structure provide support for battery lifetime if you are on a laptop etc.

class System
static
struct Power {}

Members

Enums

State
enum State

Power states

Variables

percent
byte percent;

Remaining battery percent, or -1 if cannot determine power status

seconds
int seconds;

Remaining time in seconds, or -1 if cannot determine power status

state
State state;

Battery state

Meta

Authors

rschuett