On Wed, Dec 01, 2010 at 11:05:03PM +0100, Holger Mikolon wrote:
> Hi tech@ !
> 
> A couple of times now I didn't notice when my laptop battery reached the 0% 
> remaining capacity. I am not aware of any "tool" in base that could issue
> a beep or nice sound in case of critical battery.
> 
> Currently, apmd reports battery and power events to syslog.
> Below is a patch to let apmd report battery state, battery life and
> power state as parameters to an action script (/etc/apm/powerchange).
> This makes the powerup and powerdown scripts obsolete.
> I also included my powerchange script as an example.

For your information and that of people reading the archives: the
current way to do this is sensorsd.

Still, this may be more obvious.

                Joachim

Reply via email to