Raspberry Pi 400 Power Button

I figured it out. xfce4-power-manager was conflicting with logind.

https://docs.xfce.org/xfce/xfce4-power-manager/faq#how_can_i_make_logind_handle_button_events_instead_of_xfce4-power-manager

Ran the following command and now the power button is working:

xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-power-key -n -t bool -s true
1 Like