I set up an Ubuntu 20.04 LTS server OS to use as a media server. It is uses desktop hardware with a mobile processor (Intel i5-6600T). Until recently it has worked fine. But I recently installed Gnome on it to make management a little easier and it started goingg into sleep mode after several minutes of inactivity.
When I went to Settings -> Power with the intent of disabling Automatic Suspend, and I noticed that it seems to think it's a laptop because of the mobile processor. Instead of displaying the normal desktop power settings, it shows Battery with a bar showing it 100% charged and it doesn't show the buttons for Automatic Suspend.
I know I can just hit any key on the keyboard to resume functioning, but this system lives in my basement and I xRDP to it usually.
I did manage to find a command that prevented the OS from executing an Automated Suspend, so it is not sleeping now. That command was:
systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
and it is working fine. But the Power control panel still shows the system as having a battery (like a laptop) and it still doesn't show the Automated Suspend control button.
Can anyone give me an idea of how to correct this?