Power suspend and wakeup issue

I have Windows 11 installed on a Lenovo Yoga Slim 7 (AMD) laptop, and I installed Zorin OS 17.3 Core on an external SSD (USB) to try it out first.

Two weird power-related issues I'm facing in Zorin:

  1. The laptop doesn't go to suspend/sleep mode when the lid is closed
  2. When I have an external monitor connected via a USB hub, and if the laptop is put in suspend mode and then woken up, the external display stays black (not waking up).

Fast Startup and Secure Boot are disabled in BIOS.

Anyone got any ideas or suggestions I can try to fix these issues.

Thank you!

For 1.:

Install "dconf editor", there you can set that your laptop goes into suspend by lidclosing.

Take a look here:

Set the configuration this way:

lid-close-ac-action >suspend
lid-close-battery-action >suspend

Or alternatively edit the file

/etc/systemd/logind.conf

and change the following lines into

"HandleLidSwitch=suspend"
"HandleLidSwitchExternalPower=suspend"

The first line is for using battery, the second line for ac.

(Also remove the # at the beginning of the lines)

Then reboot.

2 Likes

Welcome to the Forum!

I can imagine that here are 2 Things that might be an Issue. First would be the Point that Zorin is installed on an external Drive. And the 2nd one the Point that you have connected the Monitor via a USB Hub.

For this look on @Forpli's Comment.

Did You tried it with the Monitor pluged in directly in Your Laptop? I mean without the HUB?

Unfortunately, the laptop doesn't have an HDMI port, so a hub is the only way for an external display. Tried a different hub as well. Sometimes the external display wakes up fine (on both hubs), but sometimes it doesn't.

Did You tried @Forpli's Advice? And if yes: Does it change anything?

What Ports does it have?

If this hub device is USB based, its likely that your computer's power management, is disabling USB power during suspend, which would kill your display service. There should be a setting for this in your computers BIOS.

I have an MSI Raider notebook, and there is a setting in my BIOS, to enable USB power during suspend. I just can't remember if I had to unlock my full BIOS to find it, or if it was in the basic options.


If you have a deep sleep function in your monitor settings you could try to disable them.

You could also try to disable autosuspend of usb devices by adding a kernel parameter to /etc/default/grub.

Enter in terminal

pkexec nautilus

This will open file manager nautilus with sudo rights, then you can edit the file
/etc/default/grub.

Change the following line from

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1"

(if you have further parameters than quiet splash here, please keep them)

and save the file. Then run

sudo update-grub

and reboot.

If it doesn't help, remove the added parameter and update grub.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.