I recently installed KDE 4.1.3 from /testing on my laptop and wanted to get suspend to disk working with Guidance Power Manager.
I had already had this working with pm-utils and was able to run pm-hibernate as a normal user using sudo.
I found that I can get hibernate to work by editing /usr/share/apps/guidance-power-manager/powermanage.py and changing:
SUSPEND_USE_HAL = True to SUSPEND_USE_HAL = False
S4_COMMAND = "/usr/local/bin/hibernate" to S4_COMMAND = "sudo /usr/sbin/pm-hibernate"
I then renamed the /usr/share/apps/guidance-power-manager/powermanage.pyc file and logged out. After logging in as root so that the powermanage.pyc file was recreated, then logging out and logging in as my normal user I can now hibernate from the Guidance Power Manager.
This is OK for my needs, but I am wondering whether there is an alternative scheme that I should be using rather than disabling HAL?