Hi!

After upgrading to the mentioned version of apmd (to have pre-suspend
and post-resume support) apmd does now 2 annoying things:

1. fills up syslog with messages like

Jul  4 14:39:32 galaxy apmd[128]: Charge: -0.30%/min (0:03) 0:03 (99% 3:10)
Jul  4 14:39:49 galaxy apmd[128]: Charge: -0.28%/min (0:04) 0:04 (99% 3:12)
Jul  4 14:40:06 galaxy apmd[128]: Charge: -0.26%/min (0:04) 0:04 (99% 3:06)
Jul  4 14:40:22 galaxy apmd[128]: Charge: -0.24%/min (0:04) 0:04 (99% 3:04)
[...]

This goes on for a while :-\ Unfortunately it is repeated every few
seconds, so syslog grows very quickly.

2. Once fallen beyond 51% in offline status it starts sending wall
messages with the Battery Low notification even apmd is running with
'-w 5 -W" option.

# cat /etc/sysconfig/apmd 
SCRIPTDIR=/usr/local/sbin
APMD_OPTIONS="-p 10 -w 5 -W -s $SCRIPTDIR/suspend -r $SCRIPTDIR/resume"
# ps uawx|grep apmd
root       128  0.0  0.5  1076  368 ?        S    16:23   0:00   /usr/sbin/apmd -p 10 
-w 5 -W -s /usr/local/sbin/suspend -r /usr/loca

I hope someone can help me on these points because it really gets
annoying in the meantime :-\ TIA!

bye
Achim

PS: System is Linux 2.2.10, RedHat-6.0 on a Toshiba Sattellite 4000CDT.

-- 
(null cookie; hope that's ok)

Reply via email to