battery_monitor 0.5 review

Download
by rbytes.net on

battery_monitor is a small battery monitoring program for Linux, that you can run in the background from your desktop session or laun

License: MIT/X Consortium License
File size: 7K
Developer: Ricardo Garcia Gonzalez
0 stars award from rbytes.net

battery_monitor is a small battery monitoring program for Linux, that you can run in the background from your desktop session or launch from the boot scripts. battery_monitor is designed with simple goals in mind and provides acoustic and/or visual alerts when your battery level is low or when it is fully charged, so you can take apropiate actions.

Compilation and installation

To compile and install battery_monitor you need several components installed on your computer:

C compiler (probably GCC) and the standard C libraries and headers.
POSIX threads libraries and headers (pthread.h).
X11 libraries and headers.
xine libraries and headers.
make tool.

To compile the program, once you have installed everything needed, run make from the source code directory. To install it, run make install after compilation. This last step may require superuser privileges depending on the selected installation directory. The following parameters may be useful while compiling and installing:

CC: It lets you specify the C compiler name instead of gcc.
CFLAGS: You can use it to change the optimization level and/or specify additional header directories by using extra -I arguments.
LDFLAGS: In case the compiler can't find some of the required libraries, use this parameter to pass additional -L arguments in the link step.
PREFIX: The default prefix is /usr/local. If you change this parameter you should change it in both the compilation and the installation step. It's only used in the installation step for now, but this may change.
DESTDIR: Useful for package maintainers, this lets you specify a fake root directory in the installation step.

Compilation and installation parameters are appended to the make command in variable assignment form. For example: make install PREFIX=/usr DESTDIR=/tmp/fake_rootdir.

What's New in This Release:
A bug has been fixed that made the program crash after suspending the machine under certain conditions.
The check period can now be specified manually as an extra argument.

battery_monitor 0.5 keywords