Go to file
2021-06-25 07:20:50 +02:00
examples Initial commit 2021-06-25 07:20:50 +02:00
src Initial commit 2021-06-25 07:20:50 +02:00
.gitignore Initial commit 2021-06-25 07:20:50 +02:00
Cargo.toml Initial commit 2021-06-25 07:20:50 +02:00
README.md Initial commit 2021-06-25 07:20:50 +02:00

linux_battery

A battery parser using linux' power_supply class.

Build

debug

cargo build

release

cargo build --release

Documentation

cargo doc

The built documentation can be found at target/doc/.

Example

cargo build --example bat0
cargo run --example bat0