Currently, suspend does not work on my Thinkpad running ubuntu 22.04.
I installed pm-utils (sudo apt install pm-utils) and when I run
sudo pm-suspend
everything works fine.
What is the best way to change the default behaviour of the GUI suspend button and closing the lid to use pm-suspend instead of the systemctl suspend?