linux_battery/README.md

33 lines
341 B
Markdown
Raw Permalink Normal View History

2021-06-25 05:07:51 +00:00
# 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
```