Search results
Aug 31, 2024 · I think it is the KUbuntu 24.04's new feature, that I'm getting Broadcast message: The system will suspend now! in my ssh session. I found one solution that disable sleep for bash, somehow it works...
Aug 31, 2010 · Suspend then Hibernate: Suspend the system and hibernate it after the delay specified in systemd-sleep.conf. This will trigger activation of the special target unit suspend-then-hibernate.target. This command is asynchronous, and will return after the hybrid sleep operation is successfully enqueued.
May 1, 2024 · So i tried again after disabling the screen blank and auto-suspend options completely. I also tried to copy almost 1.5Tb of data to keep the laptop active. But the same issue still persists, the laptop got frozen when it was kept unattended and unlocked for some and now the only difference is the screen is on with the default desktop interface.
Feb 17, 2021 · With no extra options, systemd-inhibit will execute CMD while temporarily disabling idle detection (that might auto suspend/hibernate the machine), explicit suspend/hibernate (e.g. you pressed the sleep key on the keyboard by accident) and shutdown commands. You can use it to invoke your backup script like this: systemd-inhibit ./my-backup-task.sh
[Disable suspend] Identity=unix-user:* Action=org.freedesktop.upower.suspend ResultActive=no Doing this makes suspend do nothing when you click it; it will disappear from the menu after you restart your computer. You can run this command also to prevent computer from sleeping: gsettings set org.gnome.desktop.session idle-delay 0
Aug 1, 2021 · Masking sleep.target, suspend.target etc. using systemctl does do the job, but know that systemd-logind will still try to call sleep.target (or which ever)! @Djizeus reports that this resulted in an indefinite CPU usage of 70-100% after closing the lid.
===> just got the new 6.10.3-061003-generic kernel and it DOES suspend/resume AND seems to be leaving my PCI wifi alone (hibernate doesn't work, but I think I have to change the format from 20.04 to 24.04 requirements...). only thing is, once booted, and only on the 1st suspend, the resume takes about 3-5 minutes ~ but all suspends after that resume in only a few seconds.
Nov 5, 2023 · Thank you for your help. After following your suggestions, `deep' remains as the default suspend mode (instead of s2idle) even after restart. But my laptop still cannot wake up from deep sleep. When trying to wake it, the keyboard backlight turns on and I can hear the fans but the screen remains black; reboot is the only option I can see.
The system seems to start entering the suspend mode but returns back immediately. I'm running Ubuntu 16.04.4 LTS (GNU/Linux 4.13.0-38-generic x86_64). Are there any details, that would help to find the root cause of the problem (dmesg output, /var/log/syslog, ...)? Thanks in advance, Bernd
May 12, 2024 · This is the problem i need to get around. I don't want the pc to suspend ever, not even on lockscreen, the screen can turn off but the pc should not suspend/hibernate since it won't wake up again. Specs: OS: Ubuntu noble 24.04 x86_64; Kernel: 6.8.0-31-generic; CPU: AMD Ryzen 7 7700X (16) GPU: AMD Radeon RX 6600 XT