Datasheet
“main” (Installation and Administration) — 2004/6/25 — 13:29 — page 372 — #398
i
i
i
i
i
i
i
i
Adapting the Power Consumption to Various Conditions
The system behavior can be adapted to the type of power supply. Thus, the
power consumption of the system should be reduced when the system is
disconnected from the AC power supply and operated with the battery. In
the same way, the performance should automatically be increased as soon
as the system is connected to the AC power supply. The CPU frequency,
the power saving function of IDE hard disks, and some other factors can be
modified.
In /etc/powersave.conf, the execution of the actions triggered by the
disconnection from or connection to the AC power supply is delegated to
powersave_proxy. Define the setting groups (called schemes or profiles)
to apply in /etc/sysconfig/powersave/common:
POWERSAVE_AC_SCHEME="performance"
POWERSAVE_BATTERY_SCHEME="powersave"
The schemes are located in files designated as
scheme_<name of the scheme> in /etc/sysconfig/powersave/.
The example refers to two schemes: scheme_performance and
scheme_powersave. performance, powersave, and acoustic are
preconfigured. The YaST Power Management module can be used to edit,
create, and delete schemes or change their association with specific power
supply states.
17.5.3 Additional ACPI Features
If you use ACPI, you can control the response of your system to ACPI but-
tons (Power, Sleep, Lid Open, Lid Closed). In /etc/powersave.conf, the
execution of the respective actions is delegated to the powersave_proxy.
The action itself is defined in the file /etc/sysconfig/powersave/
common. The individual options are explained in this configuration file.
POWERSAVE_EVENT_BUTTON_POWER="wm_shutdown"
When the power button is pressed, the system responds by shutting
down the respective window manager (KDE, GNOME, fvwm, etc.).
POWERSAVE_EVENT_BUTTON_SLEEP="suspend"
When the sleep button is pressed, the system is set to the suspend
mode.
POWERSAVE_EVENT_BUTTON_LID_OPEN="ignore"
Nothing happens when the lid is opened.
372
17.5. powersave










