Cross-platform library for retrieving information about notebook batteries.
# Cargo.toml
[dependencies]
battery = "0.7.8"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Iterate over batteries and print their state of charge.
No known issues recorded.
No dependency data recorded yet.