Le 14230i=C3=A8me jour apr=C3=A8s Epoch,
Lothar Behrens =C3=A9crivait:> Am 17.12.2008 um 13:16 schrieb Timo Juhani Lindfors:
I've a small script that works as a daemon, checking interval depends
on the charge (described on a file), play sounds (except when
charging) depending on the current charge.
There is no doc, no install proc, it's not packaged, but it can be
done easily...
The config file (default values in the script) contains:
# Les diff=C3=A9rents niveaux
THRESHOLDS=3D"100:20:1200: 20:10:600:low 10:5:150:critical 5:0:30:emergen=
cy"
Each group of check parms is max:min:delay:sound
If level is between (_max_,_min_), the "aplay" _sound_.wav and wait _delay_
for next check.
Hope it helps.
| Jens Axboe | Re: [BUG] New Kernel Bugs |
| Faik Uygur | Re: Linux 2.6.21-rc1 |
| Ingo Molnar | [patch 02/13] syslets: add syslet.h include file, user API/ABI definitions |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
git: | |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | Re: Data corruption issue with splice() on 2.6.27.10 |
| Steven Rostedt | Re: -rt scheduling: wakeup bug? |
