I have an Ubunutu 20.04 Desktop. It suspends after certain time without activity, no matter if it is powered.
I want it to never suspend when powered, and suspend only after 10 minutes running on battery. I don't want to completely disable all suspend/hibernation services.
Is it possible to config what I need?
Best regards,