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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
323 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 ...
Tonatiuh's user avatar
2 votes
1 answer
872 views

How to start service after resume from hibernate in Ubuntu 20.04?

Running Ubuntu 20.04. In order to conserve battery life, I have a service that runs at boot that will cap the charge level to 80%, see service below (/etc/systemd/system/battery-charge-threshold....
fatboycharles's user avatar
1 vote
0 answers
461 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 ...
apoorva-ask03's user avatar
1 vote
1 answer
375 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 ...
mark's user avatar
  • 261
0 votes
0 answers
592 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 ...
Fbkk's user avatar
  • 1
0 votes
0 answers
1k views

error: file '/EFI/Microsoft/Boot/bootmgfw.efi' not found

Sorry for janky english, as it isnt my main language. I know theres a bunch of questions like this one but ive tried a lot of the proposed solutions and none work for me, i have dualboot with Ubuntu ...
Faris R.H's user avatar
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 ...
csensitive's user avatar
2 votes
0 answers
520 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 (...
facialrecognition's user avatar
0 votes
1 answer
377 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 ...
WeerTM's user avatar
  • 1
0 votes
0 answers
330 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, ...
WeerTM's user avatar
  • 1
1 vote
1 answer
461 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 ...
sancho.s ReinstateMonicaCellio's user avatar
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 ...
Facundo Batista's user avatar
1 vote
1 answer
287 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 ...
Maitrey Govind Ranade's user avatar
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, ...
Oleksandr IY's user avatar
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 ...
mans's user avatar
  • 189
0 votes
1 answer
729 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 ...
Dmitriy Vinokurov's user avatar
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 ...
an4s911's user avatar
  • 121
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 ...
soundblaster's user avatar
3 votes
1 answer
424 views

Can't resume after *second* suspend in Ubuntu 20.04

I used to be able to suspend/resume without issues in previous Ubuntu versions, but since upgrading to 20.04 I can only resume once. After trying to resume for the second time, the computer doesn't ...
Oriol Nieto's user avatar
0 votes
0 answers
92 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 ...
mans's user avatar
  • 189
3 votes
0 answers
684 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 ...
Gobs's user avatar
  • 141
1 vote
1 answer
205 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 ...
alejandro's user avatar
0 votes
1 answer
431 views

How to go back to uswsusp and remove swsusp?

My computer freezes regularly when I don't use it, and now I know why: that's because of the suspend (ram or disk) default system. However, suspend and hibernation work perfectly when I use when of ...
Thibaud Hulin's user avatar
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. ...
Simon's user avatar
  • 419
2 votes
0 answers
49 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 ...
user2863494's user avatar
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 ...
ciVic's user avatar
  • 11
2 votes
0 answers
369 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 . ...
Muhammad Ahsan's user avatar
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 ...
lucidbrot's user avatar
  • 1,311
0 votes
0 answers
324 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 ...
PatrykP's user avatar
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. ...
JeremyP's user avatar
  • 21
0 votes
1 answer
462 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 ...
Felipe Oliveira's user avatar
1 vote
0 answers
193 views

Intel NUC white screen & VLC media player

I have an Intel NUC7i5BNH powering a 4k video wall. On boot, I have a startup command launching VLC media player and play a video on loop in full-screen. This works fine, but after a period of time (...
Carl Cross's user avatar
1 vote
1 answer
715 views

I want to increase swap space of my dual boot Ubuntu20.04 Os by 15gb

I read about this command on forums sudo dd if = /dev/zero of= /swapfile bs=1G count=8. but couldn't understant about this 'count' how much should i keep it. It would be kind if you provide complete ...
innoRant's user avatar
2 votes
1 answer
608 views

Cannot hibernate without password

In Ubuntu 20.04, I have this config. in /etc/sudoers: ... %sudo ALL=(ALL:ALL) ALL ... I've changed it in this way: ... %sudo ALL=(ALL:ALL) ALL david ALL=(ALL) NOPASSWD: /usr/bin/systemctl ...
david.perez's user avatar
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 ...
zarok13's user avatar
  • 43
3 votes
1 answer
712 views

Is there any disadvantage of using swap file instead of partition?

I'm planning on setting up my new ThinkPad and this time I wanted to plan everything right from the beginning. My notebook has 32 GB of RAM and I want it to be able to hibernate. After doing some ...
Cal Blau's user avatar
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 ...
muffinmaster1024's user avatar
0 votes
0 answers
122 views

Unable to resume from suspend after prolonged time

I appreciate there are a lot of existing questions on here about suspend and resume not working. However I cannot find anything which matches my particular problem. Suspend and resume does work on my ...
Jamie Scott's user avatar
4 votes
1 answer
6k views

How do you hibernate on Ubuntu 20.04?

I searched this online but all articles found are outdated. What should I do to enable hibernation in GNOME?
NinePlusTenEqualsTwentyOne's user avatar
0 votes
0 answers
146 views

Suspend and Hibernate does not work properly

I have a little Problem with my Ubuntu Setup. I have an Ubuntu 20.04 Installation with Gitlab and Nextcloud. Also i have a script which checks the CPU-Load every 15 minutes and set the System in ...
UbuntuUser93's user avatar
1 vote
0 answers
106 views

suspend-then-hibernate behaviour when swap is insufficent

I'm having problems with system resume after suspend on a Ryzen build. If I suspend then wake a few minutes later, everything works fine. If I leave it a day or two, my system never wakes up despite ...
Jamie Scott's user avatar
2 votes
1 answer
1k views

Xorg has high CPU load after unlocking XFCE

I am running Xubuntu 20.04 with a NVIDIA GeForce GTX 760 and an AMD Ryzen 7 CPU. The Nvidia driver version is 450.66, the kernel is 5.4.0-47-generic Starting up without previous hibernation works fine,...
kanehekili's user avatar
  • 6,362
0 votes
1 answer
368 views

my win10 crashed so i want to install ubuntu instead and running into several problems

my win10 crashed (unmountable boot volume error), so I brutally shut it down, and tried to install ubuntu instead of my win 10 (I do not any back up, just erase and install ubuntu). I downloaded ...
ytytyt's user avatar
  • 1
0 votes
1 answer
941 views

Ubuntu 20.04, computer keeps shutting down when I close the lid, I've already checked logind.conf, settings are set to suspend

Working on an Asus K550L, just installed Ubuntu 20.04. When I close the lid, I have the setting all set to suspend. I've done it in Tweaks, and I've set it in logind.conf as well, but the computer ...
Chefdaddy's user avatar
1 vote
1 answer
87 views

Hibernate caused ubuntu boot failure

I run Ubuntu 18.04 (Gnome Desktop) and attempted to test hibernation via sudo systemctl hibernate Oddly the screen blanked out and the pc restarted into my BIOs. What follows is a blanking cursor on a ...
Darthtrader's user avatar
1 vote
0 answers
776 views

20.04: 'True' hybrid-suspend / suspend-to-both / suspend-and-hibernate?

I have hibernate working, and I can also trigger 'true' hybrid-suspend from the command line or my power menu, but I want to configure Ubuntu 20.04 to hybrid-suspend when idle rather than just suspend ...
saltyeggs's user avatar
9 votes
4 answers
8k views

How to disable the behaviour of the power button on Ubuntu 20LTS

I disabled the power button on my desktop (pressing it did nothing, no shutdown, no hibernation/sleep, because my kids like it to press) After I upgraded my ubuntu from 18LTS to 20LTS, the disabled ...
Matej Polák's user avatar
0 votes
2 answers
3k views

Kubuntu no hibernation button/settings in KDE

I am using Kubuntu 20.04 with a swap partition and can use the terminal to hibernate my pc: $ sudo systemctl hibernate However I want to be able to use "Power management" and KDE UI to use ...
SystemOut1324's user avatar
2 votes
2 answers
7k views

Ubuntu 20.04.01, full disk encryption, btrfs, & hibernation?

I am trying to install *20.04.01 on my desktop with full (or almost full as Tj puts it) disk encryption including encrypted swap partition that allows hibernation, and btrfs. The last few years I am ...
saltyeggs's user avatar
0 votes
0 answers
296 views

Swapfile for hibernation but no hibernation option/button in kubuntu

Hello I am using Kubuntu and I want to be able to use "Power management" options for hibernation but they are not available. I followed the highest rated post by Anthony O. from: Hibernate ...
SystemOut1324's user avatar

1 2 3
4
5
22