Added power management methods required by gnome-settings-daemon.

All new code is untested.