Questions tagged [hibernate]
Hibernation (ACPI S4 or HTD) is a power-saving mode in which the machine state is written to disk, either a swap partition or swap file, allowing the device to be completely powered off. On resume, the machine state is loaded back into RAM. This allows a faster boot time than a normal power cycle and for the user to resume their session with the applications that were open when hibernate was initiated.
1,069
questions
0
votes
0
answers
136
views
Ubuntu 21.04 reboots itself, sometimes hibernates
So, I've been having this problem for a while, since 18.04 I guess. My computer reboots out of nowhere. It is really, really random. The only thing I've noticed is that it only happens when my CPUs ...
23
votes
4
answers
12k
views
Prevent sleep/suspend when not logged in to a specific account
We have a shared office desktop running Ubuntu 18.04 where several jobs (via ssh and screen) often run for weeks on multiple accounts. When logged into an account, sleep/suspend is deactivated through:...
3
votes
2
answers
866
views
Missing RAM problem
I have a Ryzen 5950x with 32GB and 64GB. In both cases, Ubuntu is reporting 2-3GB less. BIOS is up to date.
It would be great to claim those 2-3GB memory back and put them to a good use. The CPU does ...
5
votes
2
answers
7k
views
Hibernate not working in 18.04
When I use the command sudo systemctl hibernate, the system seems to go to hibernation, but when restarted, it is a fresh start without any of the previous windows that were left open.
And when I ...
23
votes
11
answers
51k
views
How can I hibernate from GNOME Shell?
GNOME Shell doesn't have an option to hibernate in the session menu. I checked the GNOME Shell Cheat Sheet but hibernate is not mentioned there.
How can I hibernate my machine from within a GNOME ...
0
votes
0
answers
514
views
Cannot use hibernate mode lubuntu
I'm a new user to the linux kernel, I am using lubuntu 21.04
I have setup LXQt to hibernate when I close the lid, but instead of it hibernating it just gives me this error:
Power Manager Error (D-BUS ...
0
votes
1
answer
268
views
Ubuntu 20.04 - Hibernate mode does not work (pc-TOSHIBA-SATELLITE-C55-C)
I have Ubuntu 20.04 I want my pc to hibernate/sleep mode . How ever each time I press the suspend butten. My pc gets into sleep mode but when I try to wake him up ,the screen get very dark and then ...
0
votes
0
answers
126
views
Hibernate lost after update to kernel version
I have Ubuntu 18.04 installed (due to Petalinux requirement) where Hibernation so far at least worked. Recently I got an update notice, confirmed it and am now running on this version:
$ uname -a
...
0
votes
1
answer
468
views
How to enable hibernate option on menu in Ubuntu 20.04?
I can only hibernate via command. I tried several alternatives, but none of them work, from extensions to GNOME, passing through the swap configuration (it's working), to editing the grub ...
0
votes
1
answer
1k
views
How to debug slow hibernation
I have several PCs/laptops running an up-to-date Ubuntu 20.04 with currently a 64bit kernel 5.4.0-74-generic as provided by default Ubuntu repos. One of them, a rather ordinary PC with an Intel i3 CPU,...
3
votes
1
answer
2k
views
How to resume from suspend or hibernate only by the power button?
My motherboard's bios/uefi don't provide an option for disabling wake up from keyboard or mouse. So I tried to disable all others devices than PWRB in /proc/acpi/wakeup, but my system ignores that and ...
0
votes
0
answers
394
views
Grub doesn't resume Windows 10 hibernation
Recently i've received a Dell Inspiron 7501 laptop, and i've installed on it ubuntu 18.04 alongside the preinstalled windows 10. The issue is that windows hibernation works perfectly when the windows ...
0
votes
0
answers
20
views
How to stop keystrokes from switching on my hibernating PC?
I have hibernation enabled on my Ubuntu PC and it works pretty well. One thing that turns me off though is that my hibernating PC gets turned on on a keystroke. I just want to turn it back on by ...
1
vote
0
answers
228
views
Ubuntu 20.04 battery drain during hibernation
I have ASUS Zenbook UX425. This device runs on i7-1065G7 processor on 67Wh battery. This provides hours of regular work using Firefox/Chrome on Ubuntu 20.04. The problem comes when the notebook ...
1
vote
1
answer
90
views
Black screen after hibernate on Macbook Air 2012
I'm using Ubuntu 18.04 LTS and trying to make hibernation (sudo systemctl hibernate) working on my Macbook Air 2012. Actually it works so far, it wakes up, I can see grub but when it comes to the lock ...
434
votes
10
answers
387k
views
How to enable hibernation?
In Ubuntu 12.04 and newer, hibernation has been disabled by default in policykit. How can I enable this back?
0
votes
0
answers
28
views
How can I prevent my laptop to autamatically suspend?
Whenever I plugged in charger on my laptop, it gets suspend/sleep/hibernate. How can I fix it?
And after disabling suspend by running this command: sudo systemctl mask sleep.target suspend.target ...
0
votes
1
answer
328
views
Ubuntu 20.04 Desktop - Only suspend after 10 minutes on battery
I have an Ubunutu 20.04 Desktop. It suspends after certain time without activity, no matter if it is powered.
I want it to never suspend when powered, and suspend only after 10 minutes running on ...
3
votes
3
answers
5k
views
dual boot: Windows 8 session lost after Hibernate/Sleep
The problem I'm experiencing is losing the Windows 8 session after sleep/hibernate.
When resuming the session I would expect to load directly into Windows, however the GRUB bootloader displays. At ...
1
vote
0
answers
470
views
Capturing sleep/hibernate/wakeup events on Linux desktop and laptop environments
Explored 2 options to capture these power events, but unfortunately none of them worked as expected.
DBus works on Desktop but these events also need to be captured on Laptops and Linux environments ...
1
vote
1
answer
376
views
replace hard drive while hibernated
I have an Ubuntu Server 20.04 machine running with a long-running memory-intensive data processing script running.
I would like to replace my old hard drive with a new, larger hard drive.
Is it ...
0
votes
0
answers
613
views
ubuntu suspend shuts down all apps
I am new to ubuntu and have been trying to use suspend feature like windows sleep. But when restart pc after suspend all apps are shutdown. It's like the pc was shut down not suspended. I have ...
1
vote
1
answer
2k
views
What causes hibernation image to swap file not getting loaded?
After setting up hibernation on my encrypted disk with LVM2 (standard ubuntu 20.04 Focal installation with encryption) it finally worked... once!
I installed pm-utils, uswsusp and hibernation packages ...
17
votes
4
answers
15k
views
Ubuntu 16.04 doesn't shut down after suspend or hibernate
Why no answer accepted
For the simple reason that I haven't been using Ubuntu for a long time, so I couldn't test the answers.
The question
Actually my question can appear identical to this one in ...
2
votes
1
answer
4k
views
Can't get hibernate to work on Ubuntu 18.04
I can't get Hibernate to work on Ubuntu 18.04, I tried following these tutorials and after all the steps below hibernate still acts as a normal reboot.:
Github - gnome-shell-extension-hibernate-...
2
votes
0
answers
536
views
Does Ubuntu 20.04 have an equivalent to Windows' Fast Startup?
Windows 10, esp. on SSD, can boot really fast, partly thanks to a feature called Fast Startup:
Windows does this by saving the kernel session and device drivers
(system information) to the hibernate (...
5
votes
1
answer
3k
views
Ubuntu 20.04 keeps goes to sleep
I recently installed Ubuntu 20.04 on Razer Blade Pro 17, but I am having a problem with the laptop constantly being put to sleep after I put it to sleep in the first place.
I can boot into Ubuntu, and ...
0
votes
1
answer
379
views
Ubuntu 20 lts - blank screen without suspension
My desktop PC with Ubuntu 20.04LTS needs to go blank screen after X minutes without suspension/hibernation. After upgradion to 20.04 I had some issues with disabling suspension and hibernation. Found ...
0
votes
0
answers
333
views
Ubuntu 20.04 LTS - hibernation/suspend still working after turning it off
I've upgraded my software to 20.04 lts version of Ubuntu and everything works fine but one thing isn't. In gnome settings I disabled automatic suspend but after ~15min of inactivity my computer (ye, ...
2
votes
1
answer
2k
views
can not hibernate Ubuntu 20.04 (no disk /sys/power/state)
The referenced answer that stated in the closed message is not answering my question as you can see from my original post, I followed that answer and was not able to enable hibernation.
I am trying to ...
1
vote
1
answer
467
views
Keyboard shortcut for sudo pm-hibernate
I am using Ubuntu 20.04.
I mean to setup a simple way to hibernate, for anyone with no knowledge of Ubuntu/terminal to be able to hibernate.
I tried first setting up systemctl hibernate, and a ...
1
vote
1
answer
2k
views
Cannot set the system to automatically suspend and then hibernat when closing the lid
When I close the lid, the system goes to "suspend" mode, but then the hibernation never happens.
I know that suspend and then hibernation works ok, because the following command makes it ...
1
vote
1
answer
289
views
Hibernate doesn't work after a kernel upgrade in Ubintu 20.04
Hibernation stopped working when I updated to kernel 5.8.0-41, but it is working on kernel 5.8.0-29.
Here is my syslog on kernel 5.8.0-41
Feb 11 15:18:44 carbo-pc systemd[1]: Starting Hibernate...
Feb ...
3
votes
2
answers
9k
views
Computer goes into sleep mode, but won't wake up
I just installed a fresh version of Ubuntu 18.04 Desktop. Since then, when my computer goes to sleep/hibernate it does not wake up. 5 min. I have tried changing the sleep time to never, but it ...
0
votes
1
answer
730
views
Kubuntu 20.10 does not hibernate when I close laptop
I've set system to hibernate when I close laptop in KDE settings, both for battery and cable. Hibernation works fine when I execute it from KDE menu but does not work when I close laptop despite ...
0
votes
0
answers
27
views
hibernate doesn't happen ubuntu studio 20.04 [duplicate]
I enabled hibarnation by this article link
but when after all I perform this command
sudo systemctl hibernate
system seems want to hibernate, turned off network but that is all what actually happen, ...
1
vote
1
answer
3k
views
Hibernate without swap partition
I am using ubuntu 20.04 on a machine with 16G RAM and 1T SSD. I used to have a swap partition of 20G and know how to hibernate with swap partition. But I found the partition never used in normal time. ...
0
votes
0
answers
332
views
Ubuntu 20.04 - system cannot hibernate despite dealing with swapfile
General description
I want to switch from Windows to Linux, but there is one issue which doesn't allow me to use my Ubuntu 20.04 fully. I don't know how to make my computer hibernate. As I already ...
3
votes
1
answer
4k
views
How to enable hibernate on ubuntu 20.04 LTS [duplicate]
How can I enable hibernate on fresh installed system if it's possible.
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may ...
1
vote
0
answers
2k
views
sudo systemctl hibernate shows error 'Failed to hibernate system via logind: Not enough swap space for hibernation'
I found so many others asking very similar questions to this. But I tried almost all of the solutions but it doesn't seem to be working for me.
When I enter sudo systemctl hibernate it gives me this ...
4
votes
3
answers
3k
views
How to debug battery drain during suspend/hibernation? [closed]
I feel like battery drains as if it was on during suspend, and hibernation too.
Last time I run sudo systemctl hibernate it went down ~20% in 12 hours. I'm not sure how to debug it properly, because ...
0
votes
0
answers
93
views
Ubuntu 20.04 took a very long tome to boot after hibernation
I installed Ubuntu 20.04 from scratch on a laptop.
The laptop has 6Gram and the swap partition has more than 12 GRam.
The swap partition is after the file system on the disk.
If I shut down, the ...
3
votes
0
answers
688
views
20.04 Setting up hibernation with full disk encryption
I recently installed 20.04 with full disk encryption and wanted to setup my laptop to allow hibernation. I followed this guide on the matter, and this didn't work. Then I found this entry on the ...
1
vote
1
answer
208
views
Ubuntu on Thinkpad E560
I installed Ubuntu 18.04.4 LTS on my Lenovo Thinkpad E560 and as a begginer user of Ubuntu everything worked nice... But then it went into hibernate and my laptop went freezed. I had to restart the ...
2
votes
0
answers
51
views
Hibernation causes mandatory fsck
Since I have a specific use-case I've enabled Hibernation on a fresh Ubuntu 20.04 installation. The installation has it's own disk drive, with no other volumes mounted.
After booting back from ...
2
votes
0
answers
372
views
Ubuntu 20.04 Hibernate logging me out and doesn't work
I am new here and I switched from Win10 to Ubuntu a couple of days ago. I am having an issue with Ubuntu. I am unable to hibernate using sudo systemctl hibernate,sudo hibernate or sudo pm-hibernate . ...
3
votes
1
answer
513
views
What kind of battery management is preinstalled on a clean Ubuntu 18.04 install?
A friend recently told me that it is important to not charge the laptop battery fully, so that it lives longer. I didn't know if that is true, and if it is I would expect the battery hardware or the ...
0
votes
1
answer
73
views
Can anyone offer advice on a S4 battery drain issue I"m having?
I'm having a problem with S4 hibernate on my Lenovo Thinkpad T440 on Ubuntu 20.04.01. I've been noticing that after leaving the machine in hibernate, there is significant battery drain happening. ...
3
votes
2
answers
1k
views
Two swapfiles, hibernate working, how to correctly configure hibernate to not run out of space, or fail somehow
I have configured hibernate, its working, just to make sure it will not fail sometime - this question.
I have two swap files on different devices, first is small swap on SSD, second as big as ram on ...
0
votes
1
answer
194
views
Ubuntu Server 20.04 LTS: autosuspend "cannot check the systems suspend ability"
I'm quite new to Linux, so please be kind ;)
My project at the moment is a Nextcloud-Server running on a Ubuntu 20.04 LTS Server. It is only for personal use for me and my SO ...so it doesn't need to ...