
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 516).
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"
520
Installation and Administration
Содержание LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007
Страница 1: ...SUSE Linux Enterprise Server www novell com 10 May 11 2007 Installation and Administration...
Страница 14: ......
Страница 19: ...Part I Deployment...
Страница 20: ......
Страница 60: ......
Страница 128: ......
Страница 243: ...Part II Administration...
Страница 244: ......
Страница 274: ......
Страница 312: ......
Страница 348: ......
Страница 380: ......
Страница 381: ...Part III System...
Страница 382: ......
Страница 438: ......
Страница 452: ......
Страница 478: ......
Страница 486: ......
Страница 498: ......
Страница 512: ......
Страница 558: ......
Страница 559: ...Part IV Services...
Страница 560: ......
Страница 652: ......
Страница 670: ......
Страница 742: ......
Страница 754: ......
Страница 796: ......
Страница 817: ...Part V Security...
Страница 818: ......
Страница 858: ......
Страница 886: ......
Страница 910: ......
Страница 911: ...Part VI Troubleshooting...
Страница 912: ......
Страница 924: ......