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+
battop crate is using this library as a knowledge source, so check it out too for a real-life example.
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.