Dualsense plugged in prevents PC from going to sleep
I have bazzite installed on my PC (deck version but switched it to start in desktop mode using "ujust _toggle-autologin".)
In any case, I noticed if I have my dualsense controller plugged in, the computer will not respect my power options that I have set in KDE ie: when I have the screen set to turn off or when I have the PC set to go to sleep. If I unplug the controller, every thing works fine. Is there a way to figure out what is causing this issue and maybe get the system to still go to sleep when the controller is plugged in?
In any case, I noticed if I have my dualsense controller plugged in, the computer will not respect my power options that I have set in KDE ie: when I have the screen set to turn off or when I have the PC set to go to sleep. If I unplug the controller, every thing works fine. Is there a way to figure out what is causing this issue and maybe get the system to still go to sleep when the controller is plugged in?
Solution
ok so there is 2 things here
- pc not sleeping while a controller is connected is by design to get around the issue of the pc going to sleep while playing a game for long periods of time with a controller, this is handled by joystickwake
_toggle-autologinis hidden in ujust because it is not meant to be used on the deck image as it breaks the session management and you can soft lock your system into a black screen on boot, it is only there for us to debug stuff in VMs and a super few other niche usecases, you are better off making your own custom image with the login screen enabled (this will also give you the lock screen back)
