# 2004.10.19    wdw added cpufreq governors and comments
#               and enabled POWER_SERVICES

APMSCRIPTS=/etc/sysconfig/apm-scripts

# make an entry in the logfiles whenever the percentage of
# battery power changes below the value specified here
LOGPERCENTCHANGE=10

# warn on specified remainig battery percentage, use negative values
# to disable this feature
WARNPERCENT=5

# use -W to warn all users in a critical power state
ADDPARAMS="-W"

# if you have problems with your X display after returning from suspend mode
# give CHANGEVT the number of the virtual terminal your X-Server runs on
#CHANGEVT="7"

# If you set this to yes, the clock will be synced with the hardware clock
# when the computer returns from suspend mode.
CLOCK_SYNC="yes"

# Some broken BIOSes, like those found in early Gericom 3xC notebooks,
# won't wake up harddisks from suspend to disk unless they're set to PIO mode
# and 16-bit.
# Don't activate the following two lines unless you're getting
# "hda: lost interrupt" after returning from a suspend to disk.
#HDPARM_AT_SUSPEND="-q -X0 -q -c0 -q -d0 -q -u0 -q -S0"
#HDPARM_AT_RESUME="-q -X66 -q -c1 -q -d1 -q -u1 -q -S30"

# the error-beep of your terminal might be set to the default values after a
# resume so set TERMINALBEEP to "yes" to restore the values in
# /etc/sysconfig/keyboard
TERMINALBEEP="no"

# if your sound sometimes doesn't work after a resume set RESTORESOUND to "yes";
# this will kill all sound applications, remove and start the $SOUNDMODULES
# again, and, if you also set $RESTORESOUNDPROGS to "yes", restart the
# sound applications as the correct user and on the correct display
RESTORESOUND="no"
RESTORESOUNDPROGS="no"

# some services might need restarting after a suspend/resume cycle - for
# example, named will shut down if all network interfaces go down.
# Any valid service (as in "ls /etc/init.d/") can be listed, and will be
# restarted if it was running at suspend time.
RESTORESERVICES="named amd"

# I got frequent problems mainly with scsi-pcmcia-cards on the cardbus. Use
# PCMCIARESTART="yes" to stop the whole pcmcia-subsystem on a suspend and
# to start it again after a resume. This can slow down your suspend and resume
# process. Use PCMCIAWAIT to wait with the suspend until the pccard is removed
# from the system.
# Some BIOSes are too buggy to handle cardctl suspend and cardctl resume
# properly, in these cases cardctl eject and cardctl insert can be used instead.
# However, this actually ejects the card on hardware supporting it, so if
# the BIOS isn't buggy, it shouldn't be used. Set PCMCIABIOSBUG to yes if
# you are experiencing problems with PCMCIA cards after a resume.
# Since buggy BIOSes seem to be far more common than hardware that can eject
# PCMCIA cards (and it doesn't make a difference on systems that don't have
# either), it is enabled by default.
PCMCIARESTART="no"
PCMCIABIOSBUG="yes"
PCMCIAWAIT="no"

# Set ANACRON_ON_BATTERY to yes if you want to run anacron after a resume even
# if you're on battery power.
ANACRON_ON_BATTERY="no"

# Set LOCK_X to yes if you want to lock all your X displays at suspend
LOCK_X="no"

# If NET_RESTART is set to yes, the network will be shut down at suspend and
# restarted at resume.
# This is especially useful if you're using DHCP, but usually won't hurt.
NET_RESTART="yes"

# If NETFS_RESTART is set to yes, NFS filesystems will be unmounted at
# suspend, and remounted at resume (if possible).
NETFS_RESTART="yes"

# If you wish to stop any services when going to battery power (and restart them when
# going to line power), list them in POWER_SERVICES.
# Any service started using the init scripts can be listed (the APM script runs
# "/sbin/service ... stop" for each of the services).
# If you want to stop/restart any services that are not started by the init system,
# use an apmcontinue script.
POWER_SERVICES="atd crond autofs cups pcmcia syslog"

# If you wish to stop any services when running short of battery power (and restart them when
# going to line power), list them in LOWPOWER_SERVICES.
# Any service started using the init scripts can be listed (the APM script runs
# "/sbin/service ... stop" for each of the services).
# If you want to stop/restart any services that are not started by the init system,
# use an apmcontinue script.
LOWPOWER_SERVICES="atd crond"

# Some broken BIOSes (e.g. the ones found in Toshiba Satellite Pro 4600
# Notebooks) need some time to settle down before really entering suspend
# mode.
#
# If your BIOS is broken, uncomment the line below, and possibly change the
# value (e.g. "5s = Wait 5 seconds before allowing to suspend").
#DELAYSUSPEND="3s"

# If your machine supports using cpufreq to change its speed, you can enable
# this to support changing the cpu frequence to performance or powersave
# based on whether or not you are currently on AC power or battery power.
#
# Selecting yes allows the apmscript to use the governors specified below.
# Leaving commented out allows a userspace governor (cpuspeed, cpuspeed2...)
# to control CPU clock frequency based on demand and other parameters.
# CPUFREQ="yes"

# If you set CPUFREQ to yes, you can specify the governors to be used when
# AC is on-line or off-line.  Requires newer cpufreq interface in
# /sys/devices/system/cpu/cpu0/cpufreq.
#
# current choices are: performance and powersave.  Do not specify the
# userspace governor.  See Documentation/cpu-freq for details.
# These are the same as the apmscript defaults - included here for completeness.
#AC_ONLINE_GOVERNOR="performance"
#AC_OFFLINE_GOVERNOR="powersave"