Questions tagged [suspend]

computer low-power mode, including suspend-to-RAM and suspend-to-disk

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

Linux crashes after resume from suspend

My Linux crashes after it wakes up from sleep mode, namely, it stops responding to any commands, at the moment I have Manjaro Linux, but there was a similar problem on Ubuntu. My laptop: Huawei Mate ...
zoodle's user avatar
  • 1
0 votes
0 answers
8 views

Running Scripts Before and After Suspend with Systemd

I found this blog article here that explains the process of Running scripts before and after suspend with systemd. Here are the steps: Create a /usr/lib/systemd/system-sleep/suspend-date.sh script: #...
jophuh's user avatar
  • 1
0 votes
1 answer
13 views

One time suspension of suspension upon lid closing

Assume that I am compiling some big project and want to put my laptop on my bag without stopping the compilation process. Closing the lid put my computer in hibernation. What are the options to stop ...
InfiniteLooper's user avatar
3 votes
0 answers
49 views

Display linux sleep state

I have built up a new AlmaLinux 9 system which has a power LED that is normally on (constant). After a while I notice the power led slow blinks. According to what I found online this indicates the ...
TSG's user avatar
  • 1,620
0 votes
0 answers
34 views

How do I stop random sleep/hibernation?

I am currently running Debian 12 on a Microsoft Surface Pro 2 with the 6.4.12-surface kernel from the linux-surface project. However, I have been experiencing the computer's screen turning off and the ...
kickit's user avatar
  • 1
1 vote
0 answers
11 views

Diagnosing Suspend/Wakeup problems in Xubuntu

I had my old laptop (Xubuntu LTE 20.04, Kernel 5.something) configured to suspend when I close the lid, which worked fine. When I switched to a new laptop (Tuxedo Pulse 15 - Gen2, Ryzen 7 5700U with ...
bakunin's user avatar
  • 475
0 votes
2 answers
176 views

Non-boot CPUs are not disabled (It seems there is a bug in new "6.2.0-26-generic" kernel)

I use Ubuntu 22.04 with no issues for a while, but recently I can't suspend the OS and it gives me the following error and either hangs with a blank screen or shows up the system login screen: Non-...
best_of_man's user avatar
0 votes
0 answers
72 views

systemd, journalctl, and suspend/resume (sleep/wake): marked by default in the logs? Or how to add? And scripting around suspend/resume in general?

( First of all, I'm not completely sure what the official terms are. I think it's "suspend"/"resume", with "sleep"/"wake" being synonyms (and I'm not sure if ...
dwawlyn's user avatar
  • 23
0 votes
0 answers
129 views

Gave up waiting for suspend/resume device ubuntu 22.04

My laptop has ubuntu 22 and windows OS installed. Ubuntu was logged in. Mistakenly, I forgot to plug the charger and battery drained. When I tried to restart, I can see grub menu, but then it loads ...
TalESid's user avatar
  • 119
0 votes
1 answer
68 views

In GNOME on Wayland, how can I issue a command to reset the idle time?

I know I can issue this command to get the Idle Time dbus-send --print-reply --dest=org.gnome.Mutter.IdleMonitor /org/gnome/Mutter/IdleMonitor/Core org.gnome.Mutter.IdleMonitor.GetIdletime , but how ...
Jason Hunter's user avatar
0 votes
0 answers
248 views

Debian 12 - Suspend sometimes doesn't work

After installing Debian 12 on my laptop, suspend sometimes doesn't work. Trying from the shutdown menu in Gnome, or by using systemctl suspend, I encounter the same random behavior. I can't figure out ...
manu_romero_411's user avatar
0 votes
0 answers
63 views

Find workaround for display not resuming from deep sleep

How can I activate the screen if it doesn't turn on after resuming from the S3 deep sleep state (suspend to RAM)? The test for suspending to RAM appears to be successful. # echo core > /sys/power/...
Roman Riabenko's user avatar
3 votes
3 answers
441 views

systemctl suspend, Call to Suspend failed: Access denied

After a recent update on an Ubuntu 20.04: $ systemctl suspend Call to Suspend failed: Access denied Some weeks ago worked fine this way, without any root privileges. On journal: dbus-daemon[1310]: [...
Pablo A's user avatar
  • 2,337
0 votes
0 answers
46 views

Crontab jobs during suspend will not run?

Environment: Linux XUBUNTU 22.04.2 LTS on an ACER ASPIRE laptop. Tools: Using Linux Text Editor to create a bash script also tried using crontab to execute each command a minute apart. Goal: To have ...
J. Mander's user avatar
1 vote
0 answers
85 views

Does Debian 12 running on a Dell XPS 15 9520 support "deep" suspend mode?

I have checked the file /sys/power/mem_sleep and it only has the value [s2idle], I didn't see the option deep, but maybe is missing.
logicito's user avatar
  • 111
0 votes
1 answer
75 views

How to simulate the plugging and unplugging of an HDMI cable through software?

After some struggle, I got systemctl suspend working with my Nvidia graphics card; only that when machine resumes, the monitor is blank. Yet I discovered that if I unplug the HDMI cable and plug it in ...
Philipp Claßen's user avatar
0 votes
0 answers
30 views

Manual vs automatic suspend: If there are differences, how can I investigate them?

Are there any differences in the way suspend functions automatically (such as clicking lock and the computer suspending after a while) compared to manually (such as actively clicking the suspend ...
Johan's user avatar
  • 331
0 votes
0 answers
28 views

Kali Linux mounting as read-only after suspend

Almost always when I wake my computer up from suspend mode, it says "read only file system" if i try and write to something, and Thunar file manager shows locks on all folders. I am running ...
L M's user avatar
  • 1
0 votes
0 answers
459 views

Pop-OS 22.04 with nvidia-driver-525 fails to suspend on a hybrid laptop

The fact that after surfing dozens of help posts I failed to reach a solution indicates how diverse the problem is. Problem: I'm using Pop-OS 22.04 LTS on my HP Pavilion laptop which features Intel ...
Meraj al Maksud's user avatar
1 vote
1 answer
250 views

Linux mint 21.1 resumes immediately after suspend

i recently installed linux mint 21.1 in my desktop, but i've been having problems with suspend, the computer resumes immediately after suspend, i already checked and wake on lan is disabled in my bios,...
Kevin Ramirez Zavalza's user avatar
1 vote
0 answers
271 views

Bluetooth disappears after sleep

Posted on Bugzilla per @ArtemS.Tashkinov 's advice On my HP notebook, when running Linux, the Bluetooth adapter disappears after sleep (always), and reappears after rebooting (also always), so I'd ...
Tuor's user avatar
  • 121
0 votes
0 answers
323 views

Suspend or Hibernate Kali linux after being inactive for a while

I have an Hp ProBook 450G1 with a 500GB HDD and i run Kali linux. Whenever i am not actively using my pc, and i leave it on for a while and i am not connected to power, my laptop remains on which ...
Olasubomi's user avatar
0 votes
0 answers
74 views

Force a specific device to be in suspend state

I'm working on a battery powered custom stm32mp2-based board. Several peripherals are present on this board (NFC, LCD, USB, ...). When the system is not interacting with a user it is switched to a ...
A.G.'s user avatar
  • 113
0 votes
0 answers
96 views

Laptop wakes up when it is already suspended on closing the lid

Laptop is HP pavilion aero, distro is Ubuntu 22.10 So far everything was working great including suspend, except when I put the laptop to sleep while the lid is open using UI and then when I close the ...
Alexander Malafeev's user avatar
0 votes
0 answers
188 views

not detecting external monitor on waking up

Many months ago, everything was working fine. I put the system to sleep and on waking it up, the USB-C attached screen would wake up and I would be off to the races. Then, after some update, the ...
Roman Luštrik's user avatar
0 votes
0 answers
24 views

ThinkPad L14 Gen2 suspend to RAM turns on fan

Sometimes (I am guessing about a third of the times to half of the times) when I choose Logout -> Suspend, my laptop's fan starts spinning up instead of down. Once I just left it and after a few ...
FriendFX's user avatar
  • 359
1 vote
2 answers
361 views

How to run the `rtcwake` within `crontab`?

I tried to run the rtcwake as root and it's working: root@ywt01-15Z90N-V-AR53C2:~# rtcwake -m mem -s 90 ↑ This command is working. But When I tried to run the rtcwake within crontab, it's not working:...
theabc50111's user avatar
0 votes
0 answers
37 views

(Pop!_OS) Machine doesn't come back to log in screen after suspension with NVIDIA Graphics

It takes a long time that I am with it, when I click to suspend the machine everything goes ok and the screen gets blank, but after 15 minutes when I press enter or hit any button to go to the login ...
theEarlyRiser's user avatar
1 vote
1 answer
1k views

Debian 12 system randomly hangs after suspend or hibernation

It's a laptop from 2010 that has been running XP, Debian 9, Windows 10 and now this new Debian 12 system, and only in this last one it shows this problem: sometimes it resumes ok from suspend or ...
golimar's user avatar
  • 387
0 votes
0 answers
62 views

Disabled fancontrol.service restarting after a suspend-resume, how to really disable it?

I am going back to using the firmware to control my CPU fan, so I disabled "fancontrol" with systemctl disable fancontrol.service, checked its status and it is marked disabled[highlighted in ...
Max Power's user avatar
  • 229
1 vote
1 answer
637 views

gnome: how to lock session on suspend

I'd like to enter my password when I open the lid to access my laptop; I use GNOME 43 and currently when I close the lid, it goes into suspend state; then when I open the lid, the laptop resumes and ...
mattia.b89's user avatar
  • 3,142
1 vote
1 answer
594 views

Linux not sleeping and waking properly with Thinkpad X1 Carbon

I have an X1 Carbon 6th gen and installed the latest version of PopOS on it. I don't have any issues with it other than whenever I close or open the lid, the laptop doesn't sleep immediately and doesn'...
twixisthebestcandy's user avatar
1 vote
1 answer
170 views

Remove Suspend / Restart / Power Off… menu from Gnome Shell & GDM

I need to remove Suspend / Restart / Power Off… menu from Gnome Shell & GDM. I’ve been trying using Settings, Gnome Tweaks, Dconf Editor, but nothing found AFAIK. Trying to enter the Polkit conf ...
Nexus1138's user avatar
1 vote
2 answers
753 views

Several problems installing Debian on Lenovo IdeaPad 5 (AMD Ryzen 5 and AMD Radeon)

I've recently bought a Lenovo IdeaPad 5 14ABA7 (Type 82SE) with a AMD Ryzen 5 5625U processor and Integrated AMD Radeon Graphics. The laptop comes without any OS and I installed Debian 11 on it (...
Shevek's user avatar
  • 31
0 votes
0 answers
33 views

Is resuming from hibernation I/O bound or CPU bound?

I use hibernation (with encryption) on my laptop, which has 16 GB of RAM, and a fast CPU (Ryzen 6700U). When resuming, the system takes a while to load the image (13/14 seconds). Is resuming from (...
Marcus's user avatar
  • 869
0 votes
0 answers
148 views

With a second screen, after waking up from standby, Linux Mint loses the "open window icons" that are shown on top of the taskbar icons

When I plug in another monitor, using Linux Mint 21, and I suspend and wake up the OS again, Linux Mint (often?) forgets the opened windows, and I can only reach them with Alt+Tab again, though you ...
questionto42's user avatar
0 votes
0 answers
42 views

How to have scrcpy run automatically on wake from suspend?

I am on LinuxLite 6.0 and I have been trying to run scrcpy on wake from suspend. I've tried many things but haven't found the solution. Here's what I have (/usr/lib/systemd/system-sleep/example.sh): #!...
thieur3's user avatar
0 votes
0 answers
465 views

Suspend not working on Debian 11 when deep sleep is activated and battery too slow

When I suspend my laptop with 15% (or less) of the battery energy and try to resume, it doesn't work. In this case, I have to hold the power button for a while to start my laptop. After that, when I ...
Pedro Novaes's user avatar
1 vote
0 answers
872 views

pm-suspend vs systemctl suspend in Ubuntu 22.04

Currently, suspend does not work on my Thinkpad running ubuntu 22.04. I installed pm-utils (sudo apt install pm-utils) and when I run sudo pm-suspend everything works fine. What is the best way to ...
George's user avatar
  • 11
1 vote
1 answer
86 views

All ubuntu-based distros freeze on 2nd startup

For the last little while now, I've been having problems with my computer when it starts up again after sleeping. Every time that happens, the time it takes to freeze the computer varies. When that ...
Saturanium's user avatar
3 votes
1 answer
1k views

Cannot write into /sys/power/mem_sleep in Fedora 36

Since I failed to find a way to tell systemctl to go to sleep in a one-time specified mode (see previous question), I decided to write some script to change whether the system goes to sleep in shallow ...
Silmathoron's user avatar
4 votes
1 answer
690 views

Unable to disable wakeup devices on PopOS/Ubuntu 22.04 on Dell Latitude 7390 touchscreen

I have a Dell Latitude 7390 2-in-1 touchscreen laptop. I have installed PopOS 22.04 on it (based on Ubuntu 22.04 but with a higher kernel: 5.19.0). Now, whenever I put the laptop on suspend (say if I ...
shivams's user avatar
  • 4,515
1 vote
0 answers
156 views

Allow remote (SSH, XRDP, etc) sudo users to suspend/shutdown without privilege elevation

Sudo users do not seem to need privilege elevation to suspend/shutdown the computer when they are doing so locally, but require privilege elevation (e.g., need sudo shutdown instead of just shutdown). ...
Damn Vegetables's user avatar
3 votes
2 answers
115 views

On-the-fly switch between deep and idle sleep

I typically put my laptop to sleep regularly, with two distinct cases: short periods (a few minutes) while I read/discuss something long periods (an hour or more) during lunch and commutes I would ...
Silmathoron's user avatar
1 vote
1 answer
67 views

This cron script was missed by shutdown

Is there a way to setup cron (or any other scheduler, like anacron) to run such that it checks immediately after I resume working on my laptop (e.g. after suspension or shutdown) whether it has ...
user7088941's user avatar
2 votes
0 answers
339 views

Fedora 36 fails to suspend

Ever since I upgraded, my Fedora 36 fails to suspend, no matter what approach I take (systemctl suspend, the suspend button, closed lid). The system is up to date and I don't receive any kind of ...
slybloty's user avatar
  • 1,228
2 votes
1 answer
153 views

How can I look for a process that wake my machine up from suspend to RAM?

My Linux distribution is Debian 10. When the computer has been asleep (suspend to RAM), it may wake itself in random period of time. I want to figure out what causes this behavior.
Арман Айрапетов's user avatar
0 votes
1 answer
758 views

In my dualboot, KDE Neon(Ubuntu based) does not wake up after sleep/supend/closing lid manually, it needs to be started again manually 9/10 times

I think the title covers it all. I have KDE Neon dualboot with Windows 10. 9 out of 10 times, if it gets to sleep mode it does not wake up. I need to press the power button to power on the laptop ...
Yousuf Azad's user avatar
0 votes
1 answer
79 views

Ubuntu Mate 20.4 (Focal) doesn't not go to sleep mode

My working station (RTX 2080 + Ryzen 3700X) with mate ubuntu 20.04 refuses to sleep. When I do Shutdown/sleep, it logs out of the session but does not actually go into sleep mode. Here are some infos: ...
Yannick's user avatar
1 vote
0 answers
69 views

Suspend to ram fails if NFS active

If a process is actively using NFS when I suspend to ram I get: [34174.245400] PM: suspend entry (s2idle) [34174.261634] Filesystems sync: 0.016 seconds [34174.261917] Freezing user space processes ......
Ole Tange's user avatar
  • 33.7k

1
2 3 4 5
10