Next: , Previous: SuspendSec, Up: Top

9 Schemes

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/sysconfig/powersave/common set the scheme that should be used: POWERSAVE_AC_SCHEME="performance" POWERSAVE_BATTERY_SCHEME="powersave"

The schemes are config files in /etc/sysconfig/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/sysconfig/powersave/scheme_powersave) for available variables and syntax.

You can also override all general settings from any powewersave configuration file (/etc/sysconfig/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).