powerd

command module
v0.0.0-...-2cb8f7d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2019 License: MIT Imports: 10 Imported by: 0

README

powerd

What it is

Simple daemon to handle battery power levels

How it looks like

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

How to build & install

  1. git clone git@github.com:shizonic/powerd.git

  2. cd powerd && make build

  3. sudo make install

How to uninstall

  1. sudo make uninstall

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL