battery

Latest Version Latest Version

Rust crate providing cross-platform information about batteries.

Gives access to a system independent battery state, capacity, charge and voltage values recalculated as necessary to be returned in W, Wh or V units.

Supported platforms