Next: Events, Previous: SuspendSec, Up: Top
You can define different schemes that should take place if you plug/unplug the AC adapter. You propably want to ajust your system to drain less power when you work on battery, and to increase performance if you work on AC power.
In /etc/powersave/common set the scheme that should be used:
AC_SCHEME="performance"
BATTERY_SCHEME="powersave"
The schemes are config files in /etc/powersave
. Their names
must be in the format scheme_SCHEMENAME.
In the above case there are at least two scheme config files:
scheme_performance and scheme_powersave (provided). You can set up your
own scheme configurations, modifiy existing (not recommended, at least
backup them). SUSE also provides a configuration module with the
YaST2 power-management module.
Currently you can influence the CPU frequency policy, IDE-disk power
save features, temperature settings and some more.
Have a look into the provided scheme files
(e.g. /etc/powersave/scheme_powersave
) for available
variables and syntax.
You can also override all general settings from any powewersave
configuration file (/etc/powersave/*
), even reconfigure
events (see Events). For example you could reset the battery level limits
with a "on_work" scheme. You also can e.g. shutdown the machine with the one scheme
and suspend the machine with another scheme when reaching a specific
battery limit.
You could also define your own scripts to be processed for specific events (see Scripts).