Simple daemon to handle battery power levels
NAME:
powerd - Simple daemon to handle battery power levels
USAGE:
powerd [global options] command [command options] [arguments...]
VERSION:
1.0.0
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--check-interval value Sets the interval to check the battery level in seconds (default: 60)
--warn-on-level value Sets the battery level which will trigger a warn message (default: 10)
--warn-message value Sets the warning message (default: "Battery level at 10%")
--exec-on-level value Sets the battery level which will trigger a command execution (default: 5)
--exec-command value Sets the exec command (default: "poweroff")
--help, -h show help
--version, -v print the version
-
git clone [email protected]:shizonic/powerd.git
-
cd powerd && make build
-
sudo make install
sudo make uninstall