linux_battery/README.md
2021-06-25 07:20:50 +02:00

33 lines
341 B
Markdown

# linux_battery
A battery parser using linux' `power_supply` class.
## Build
### debug
```shell
cargo build
```
### release
```shell
cargo build --release
```
## Documentation
```shell
cargo doc
```
The built documentation can be found at `target/doc/`.
## Example
```shell
cargo build --example bat0
cargo run --example bat0
```