Hi. This example from wiki doesnt work for me anymore.
https://wiki.archlinux.org/index.php/Polkit#Disable_suspend_and_hibernate
It was still working a monts or two ago. I know it was a working solution in july. But now i have freshly installed stable xfce edition (20.2) in my virtualbox, and this trick didnt work for me. I still can send my virtualbox to suspend.