[−][src]Crate battery
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 mW, mWh or V units.
Supported platforms
- Linux 2.6.39+
Structs
Battery | Battery instant information representation. |
Enums
State | Possible battery state values. |
Technology | Battery type |
Traits
Device |
Functions
get | Creates an iterator which yields information about available batteries. |