Before reporting upstream, please try this to find out why it's not sleeping:
systemd-inhibit --list | less Apparently that will list the reasons for not sleeping, which can sometimes include having displays attached. Only if we can't make sense of the output would I then report the issue upstream. ** Changed in: gnome-settings-daemon (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/2075983 Title: Laptop does not sleep when lid is closed if external monitor connected Status in gnome-settings-daemon package in Ubuntu: Incomplete Bug description: Release: Ubuntu 24.04 LTS gnome-shell: Installed: 46.0-0ubuntu6~24.04.1 Expected behavior (As seen on Windows/macOS): * When plugging in external displays, they should be able to scale independently of the internal display * When external displays are active through a display link dock, closing the laptop lid should invoke suspend The above behavior would match the behavior seen when displays are connected directly to the laptop. Actual behavior: * External displays connected through a DisplayLink dock are forced to the same scaling ratio * Closing the laptop lid when external displays are connected through a display link dock results in the internal display turning off but no sleep behavior * This happens regardless of config changes with dconf, upower, or logind This is primarily a usability issue for laptops with limited ports for IO and extremely high resolution internal panels. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/2075983/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp