I have disabled the power button in xfce4-power-manager and am instead using my own command for XF86PowerButton in the keyboard settings. This usually works fine. Sometimes, the power button stops responding however. I think this happens after suspend/resume cycles.
Closing old bugreports