ACPI

ACPI (Advanced Configuration and Power Management Interface) is a power management system. It is part of the BIOS.

Kernel
You need to activate the following kernel options:

Software
Desktop environments react on the common events generated by ACPI. If you don't use a desktop environment or want to react on special events, install :

Configuration
The scripts in define how to react on ACPI events. You can edit them or add more.

Service
You can now start acpid:

To start acpid at boot time, add it your default runlevel: