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 SI measurement units.
- Linux 2.6.39+
- MacOS 10.10+
- Windows 7+
For a quick example see Manager type or
simple.rs file in the
For a real-live example see battop crate.
Partially re-exported uom quantities and measurement units used in the library public interface.
An iterator that yields batteries available in system.
Battery instant information representation.
Manager for batteries available in system.
Possible battery state values.
Possible battery technologies.