A lightweight, standalone battery status notifier.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
CHANGES
LICENSE
README
makefile
pwrnotify.c

README

pwrnotify 0.2.2.

A lightweight, standalone battery status notifier for Linux.

Uses the newer `/sys/class' interface and doesn't support the deprecated
(since Linux 2.6.39) `/proc/acpi' one.

http://ikn.org.uk/pwrnotify

    LICENSE

Licensed under the GNU General Public License, version 3; if this was not
included, you can find it here:
    http://www.gnu.org/licenses/gpl-3.0.txt

    DEPENDENCIES

libnotify: http://ftp.gnome.org/pub/gnome/sources/libnotify/
POSIX C library

    INSTALLATION

With GNU make or equivalent, run

    make
    make install

The makefile respects the `prefix', `DESTDIR', etc. arguments.  Of course,
`make install' needs to be run as root if installing outside of your home
directory.  To uninstall, run

    make uninstall

`make clean' and `make distclean' are also supported, and work as expected.

    USAGE

pwrnotify is installed to `/usr/local/bin/' by default, and can be run from
there; or you can just copy the executable elsewhere and run it without
installing.  It takes any number of integer arguments as percentage battery
levels to display a warning at.