those are availabe in the acpi package. U might need to add some events though.
Look at /etc/acpi/events/ directory
a sample config for turning off power is:
Code:
event=button/power.*
action=/sbin/shutdown -h now
Also, u must have acpi enabled in kernel and the right modules loaded (like button... etc.)