"prepare_standby screen_saver do_standby"
EVENT_GLOBAL_RESUME_SUSPEND2DISK=
"restore_after_suspend_to_disk"
EVENT_GLOBAL_RESUME_SUSPEND2RAM=
"restore_after_suspend_to_ram"
EVENT_GLOBAL_RESUME_STANDBY=
"restore_after_standby"
Custom Battery States
In the file /etc/sysconfig/powersave/battery, define three battery charge
levels (in percent) that trigger system alerts or specific actions when they are reached.
BATTERY_WARNING=12
BATTERY_LOW=7
BATTERY_CRITICAL=2
The actions or scripts to execute when the charge levels drop under the specified limits
are defined in the configuration file /etc/sysconfig/powersave/events.
The standard actions for buttons can be modified as described in Section 28.5.1,
"Configuring the powersave Package" (page 520).
EVENT_BATTERY_NORMAL="ignore"
EVENT_BATTERY_WARNING="notify"
EVENT_BATTERY_LOW="notify"
EVENT_BATTERY_CRITICAL="wm_shutdown"
Adapting Power Consumption to Various Conditions
The system behavior can be adapted to the type of power supply. The power consumption
of the system should be reduced when the system is disconnected from the AC power
supply and operated with the battery. Similarly, the performance should automatically
increase as soon as the system is connected to the AC power supply. The CPU frequency,
the power saving function of IDE, and a number of other parameters can be modified.
The actions to execute when the computer is disconnected from or connected to the AC
power supply are defined in /etc/sysconfig/powersave/events. Select the
schemes to use in /etc/sysconfig/powersave/common:
AC_SCHEME="performance"
BATTERY_SCHEME="powersave"
524
Installation and Administration
Need help?
Do you have a question about the LINUX ENTERPRISE SERVER 10 SP2 - INSTALLATION AND ADMINISTRATION and is the answer not in the manual?
Questions and answers