1 # apmd Configuration File
7 exec "/etc/rc.suspend apm suspend";
10 apm_event USERSUSPENDREQ {
11 exec "sync && sync && sync";
16 apm_event NORMRESUME {
17 exec "/etc/rc.resume apm suspend";
20 apm_event STANDBYRESUME {
21 exec "/etc/rc.resume apm standby";
24 # resume event configuration for serial mouse users by
25 # reinitializing a moused(8) connected to a serial port.
27 #apm_event NORMRESUME {
28 # exec "kill -HUP `cat /var/run/moused.pid`";
31 # suspend request event configuration for ATA HDD users:
32 # execute standby instead of suspend.
34 #apm_event SUSPENDREQ {
36 # exec "sync && sync && sync";
41 # Sample entries for battery state monitoring
42 #apm_battery 5% discharging {
43 # exec "logger -p user.emerg battery status critical!";
44 # exec "echo T250L8CE-GE-C >/dev/speaker";
46 #apm_battery 1% discharging {
47 # exec "logger -p user.emerg battery low - emergency suspend";
48 # exec "echo T250L16B+BA+AG+GF+FED+DC+CC >/dev/speaker";
51 #apm_battery 99% charging {
52 # exec "logger -p user.notice battery fully charged";
55 # apmd Configuration ends here