The notebook cannot go to sleep (ubuntu22.04)


Section "Monitor"
    Identifier "LVDS0"
    Option "DPMS" "true"

Section "ServerFlags"
    Option "StandbyTime" "10"
Option "SuspendTime" "20"
Option "OffTime" "30"
    Option "BlankTime" "40"

Section "ServerLayout"
    Identifier "ServerLayout0"

  • Using the above code, the laptop also cannot go to sleep.

Does your notebook reliably lock the screen and the screen blanks ok?

If you don’t have gnome-shell-common installed, then your issues are highly likely to be a linux kernel issue - your hardware/firmware isn’t fully recognised by the kernel power management routines. A bug report will be needed on launchpad to notify the kernel maintainers. They will then ask you to try out later versions of the kernel to see if your issue is resolved.

ubuntu-bug linux