This crate provides 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.
- Linux 2.6.39+
- MacOS (10.10+ probably, needs to be confirmed)
Battery instant information representation.
Possible battery state values.
Returns an iterator with batteries states.