Datasheet
“main” (Installation and Administration) — 2004/6/25 — 13:29 — page 364 — #390
i
i
i
i
i
i
i
i
/proc/acpi/ac_adapter/AC/state
Shows whether the AC adapter is connected.
/proc/acpi/battery/BAT*/{alarm,info,state}
Detailed information about the battery state. The charge level is read
by comparing the last full capacity from info with the
remaining capacity from state. A more comfortable way
to do this is to use one of the special programs introduced in Sec-
tion 17.3.3 on page 366. The charge level at which a battery event is
triggered can be specified in alarm.
/proc/acpi/button This directory contains information about various
switches.
/proc/acpi/fan/FAN/state Shows if the fan is currently active. The
fan can be activated and deactivated manually by writing 0 (on) or 3
(off) into this file. However, both the ACPI code in the kernel and the
hardware (or the BIOS) overwrite this setting when it gets too warm.
/proc/acpi/processor/CPU*/info
Information about the energy saving options of the processor.
/proc/acpi/processor/CPU*/power
Information about the current processor state. An asterisk next to ‘C2’
indicates that the processor is idle. This is the most frequent state, as
can be seen from the usage figure.
/proc/acpi/processor/CPU*/performance
This interface is no longer used.
/proc/acpi/processor/CPU*/throttling
Enables further linear throttling of the processor. This interface is
outdated. Its function has been taken over by the settings in
/etc/sysconfig/powersave/common (see Section 17.5.2 on
page 372).
/proc/acpi/processor/CPU*/limit
If the performance and the throttling are automatically controlled by
a daemon, the maximum limits can be specified here. Some of the
limits are determined by the system, some can be adjusted by the
user. However, their function has been taken over by the settings
in /etc/sysconfig/powersave/common (see Section 17.5.2 on
page 371).
364 17.3. ACPI










