Battery

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

Members

Enums

State
enum State

The 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