I'm currently experiencing two problems related to sleep in Bazzite handheld edition that may be related to each other.
When using desktop mode, the device may not go to sleep automatically even if the screen time is adjusted.
(Inconsistent)
There is a sleep bug where if certain conditions are met, the sleep state transition may fail to execute correctly.
If the device is on desktop mode and the device is left on idle with the display turned off for approximately 2 minutes, if the user attempts to turn it on and back off, the device won't go to sleep. If the user attempts to turn it back on after two minutes, the device will immediately go to sleep again properly.
On gaming mode I had it happen once or twice but it's much harder to replicate it then desktop mode.
The first recording shows both bugs in action.