Screen doesn't turn off when using Wayland
Affected version
I tried this with Gnome 38 (Ubuntu 21.04), Gnome 40 (Fedora 34 and Ubuntu 21.10) and Gnome 41 (Fedora 35). I had the same problem when using wayland. Within an X11 session, behavior is as expected. I reported this bug on launchpad, and it seems this bug is present on at least 3 devices:
- Lenovo Thinkpad E480 (my laptop)
- Asus Zenbook 14
- Intel Nuc NUC5i5RYK
Bug summary
The screen doesn't turn off if the laptop is not used for a while.
Steps to reproduce
Don't use your laptop and wait for the screen to turn off
What happened
The screen turned off for a second and turned back on while showing a black image.
What did you expect to happen
The screen should turn off and stay like that until usage.