No description
Find a file
2019-03-30 20:31:57 +00:00
archlinux Update PKGBUILD 2019-03-30 09:09:43 -05:00
bin Added informative print. 2019-03-30 09:09:17 -05:00
src Added informative print. 2019-03-30 09:09:17 -05:00
.gitignore Initial commit. 2019-03-29 19:10:25 -05:00
Cargo.lock Add automatic thread execution. 2019-03-30 08:57:15 -05:00
Cargo.toml Add automatic thread execution. 2019-03-30 08:57:15 -05:00
README.md Improve documentation 2019-03-30 20:31:57 +00:00

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.