mirror of
https://github.com/edu4rdshl/powerman.git
synced 2026-07-18 07:34:45 +00:00
Improve documentation
This commit is contained in:
parent
5267fac0c9
commit
eb9af4fc1a
1 changed files with 12 additions and 0 deletions
12
README.md
12
README.md
|
|
@ -1,3 +1,15 @@
|
|||
powerman - Power Management framework for Linux written in Rust.
|
||||
|
||||
It project is being writen, not ready for use yet.
|
||||
|
||||
# Usage
|
||||
|
||||
`$ powerman <Minimun level of battery before ation> <Time in seconds to check the battery level> <Action>`
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
$ powerman 5 60 hibernate # Hibernate the computer when the battery level is less than 5%, the check is done every 60 seconds.
|
||||
```
|
||||
|
||||
If you want to keep it running in the background, just add & at the end of the command, to run in startup, add the desired command to .bashrc, your desktop/WM startup config or enable powerman.service.
|
||||
Loading…
Add table
Add a link
Reference in a new issue