Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Make your voice heard. Take the 2019 Developer Survey now

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.

0
votes
0answers
19 views

Run script at resume from hibernation/suspend

I'm running Ubuntu 18.10, and have a bad cable to my webcam. I know I should disassemble my laptop and replace/remove the cable, but not today. I have found that I can disable the particular USB ...
1
vote
0answers
22 views

Gray screen and unsuable GNOME Shell after wake from hibernate in Ubuntu 18.04

This only started recently. But whenever I close my laptop and open it again, I get a blank gray screen. The top bar that is normally populated with a handful of GNOME shell extensions is vastly ...
0
votes
2answers
30 views

I can't put my device to sleep(Ubuntu 18.04)

The only thing I have is a dmesg. Can anyone tell me how to fix this?
1
vote
0answers
25 views

Ubuntu does not wake up after suspension or hibernation

I am using Ubuntu 18.04 LTS. After I close the lid (for 1 min+), Ubuntu refuses to wake up. It flashes an error screen instead: error screen I have no clue why this happens so unfortunately cannot ...
0
votes
0answers
25 views

Failed to resume after hibernate

When I execute systemctl hibernate the screen goes off and after some time I get a black screen with this error: [ 954.930148] [drm:radeon_dp_link_train [radeon]] *ERROR* displayport link status ...
0
votes
1answer
84 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-...
1
vote
0answers
72 views

18.04 hibernate with UEFI and secure boot enabled

"sudo systemctl start hibernate.target" worked fine with 16.04 on a Acer B117 using legacy boot; Updating to 18.04 forced me to use UEFI and (Acer requirement) secure boot enabled. Suspend still works,...
0
votes
0answers
68 views

Can't hibernate on 18.04 on Lenovo T580

I've tried to search for how to enable hibernation on Ubuntu 18.04, but none of the suggested methods are working for me. I have a Lenovo T580 ThinkPad with an SSD disk which is a dual-boot system ...
0
votes
0answers
35 views

Swapfile does not load when hibernating in Ubuntu 18.04

Many articles seem to have been dedicated to installing hiberate under Ubuntu 18.04 x64 / Kernel 4.20. But, I still cannot get my system loading the swapfile after hibernation. This is what I did: ...
0
votes
1answer
40 views

Hibernation using Power Button : 18.04

I followed the complete process in the Ubuntu Handbook Methood to enable hibernate on Ubuntu 18.04. Then installed s2disk sudo apt install uswsusp. Currently, the command sudo pm-hibernate works ...
1
vote
0answers
44 views

hibernate not work in 18.04 LTS how to fix it?

I can't set swap memory on my Ubuntu 18.04 LTS. But I can't found hibernate option my Ubuntu. I am trying and tired but not get any solution please help me about it. Thank you
0
votes
1answer
90 views

Ubuntu 18.04LTS hangs on wake from hibernate. Time seems to jump to extremely high value. Swap seems large enough. Help!

I've always had issues with my Precision 5530 (16 GB ram, Quadro P2000, Intel 8850H)when hibernating. It runs Ubuntu 18.04 + NVidia 410 drivers (via apt). Never had issues with the graphics drivers. I ...
0
votes
0answers
19 views

How to map a List of Enum Type with JPA and Hibernate?

I got a domain object that has a list of enum property and I want to store that list in my db and retrieve information from the db too.
0
votes
0answers
53 views

Excessive power consumption in suspend mode Dell xps 13 9365

Using Ubuntu 18.10 on a newly purchased Dell xps 13 9365 (i7 model), everything seems to be working well except for suspend. Closing the laptop lid appears to put it in suspend mode, but the power ...
2
votes
0answers
110 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:...
0
votes
1answer
76 views

Hibernate (pm-hibernate using uswsusp) only works ONCE. Second time hangs, requires hard-reset

hopefully someone in this forum can enlighten me about what is causing my problem. First off, I use Ubuntu 18.04 LTS with Kernel 4.19.8 (generic I guess?). I installed pm-utils and uswsusp since ...
1
vote
0answers
23 views

blank screen after suspend/hibernate on 16.04

My desktop always shows blank screen after suspend, while audio and other functionality is fine. Strangely, when I hibernate my desktop, it would be succeed first time. Second time, that is, hibernate ...
0
votes
1answer
55 views

Ubunt 18.10 How to avoid the login-screen after resume from hibernate?

When my computer, running Ubuntu 18.10, resumes from hibernate, I get to a login-screen, rather unlock-screen, that asks the password. How can I avoid that so the computer resumes seamlessly?
1
vote
1answer
82 views

Ubuntu 18.10 not locking before sleep

I have my lid-switch sleep-then-hibernate with logind, but upon waking the system is still logged in, but in a seemingly unusable state with nothing but the top bar clickable and even that is ...
1
vote
0answers
93 views

Unable to Hibernate: Swap header not found

I hadn't allocated any swap partition while installing ubuntu before so I couldn't hibernate my laptop which gave error: couldn't find swap device,try swapon. I then created a swap partition using ...
0
votes
0answers
79 views

Resume after Hibernate with Ubuntu 18.04 with HP Probook

My computer I have a HP Probook 650G1 notebook, that I have never managed to hibernate with Linux. I have installed Ubuntu 18.04 with a dedicated swap partition (8.25 Gb), bigger than the installed ...
0
votes
0answers
325 views

disable hibernate with 18.04.1 LTS Bionic Beaver

if I manually lock the screen of my machine (18.04 LTS), after some time, it hibernates (saves the state of your computer to the hard disk but completely powers off). how to disable permanently the ...
1
vote
1answer
39 views

GRUB alternating between configurations [duplicate]

I've been trying to configure Grub to give a hidden 3 second countdown, and then boot into the default option. What appears to happen is that Grub will alternate randomly between doing just that, and ...
3
votes
2answers
142 views

Hibernate/suspend on critical battery level - where should I set it from MATE GUI?

I have bought new battery for my laptop. It is running Ubuntu MATE 16.04.5 LTS. This new battery have normal capacity, charging and provides long life :) But I have small problem: when battery level ...
1
vote
1answer
198 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 ...
1
vote
1answer
92 views

adding hibernate option in power menu on Ubuntu 18.04

I recently updated to Ubuntu 18.04 (indeed re-installed due to a failed update). sudo systemctl hibernate worked after adding the swap partition UUID into grub. Then, I modified the content of /var/...
1
vote
1answer
358 views

How to put the laptop to sleep/hibernatation by closing the LCD lid?

I installed Ubuntu 18.10 on my Thinkpad X1 Extreme. After I closed the lid, the machine is still working as I can see things on the external display. How can I put it to sleep/hibernation when I close ...
0
votes
0answers
113 views

NVIDIA driver issues Lubuntu 16.04

I installed the NVIDIA binary driver 340.107 (from the PPA, indicates "For G9x use nvidia-340") to have dual monitor support for my GeForce 9600 GT graphics card. However the driver causes issues ...
0
votes
0answers
376 views

Ubuntu 18.04 external screen close lid action

I started using external display on my Ubuntu 18.04, and I found the problem where after closing lid Ubuntu automatically switches to the second screen instead of suspending/hibernating the system. I ...
0
votes
0answers
31 views

How to make hostapd AP visible (accessible) after suspend or hibernation

hostapd AP still enabled but disappears, become inaccessible after suspend or hibernation on 14.04. I'm using TLP and wifi settings is: RESTORE_DEVICE_STATE_ON_STARTUP=1 How to make AP auto visible ...
0
votes
1answer
38 views

Hibernation with systemd no longer working after enlarging swapfile

I've created a larger swapfile on ubuntu 18.04. But now hiberation no longer works. I do see some remarks about a swap containing software suspend: okt 14 10:06:26 hvdb-ThinkPad-T480s swapon[349]: ...
1
vote
0answers
28 views

Every linux-based system freezes after hibernation

I've a rather unusual situation here; I've tried kali, ubuntu and fedora, and the same issue occurs every time; when I close the lid of my laptop it goes into hibernation. Then when I turn it back on, ...
0
votes
0answers
124 views

Issues with rebooting/hibernating in Ubuntu 18.04 dual boot with Windows 10

So I'm experiencing some issues with rebooting, suspending or hibernating my PC on Ubuntu 18.04. I'm not even sure if these are related, but my uneducated guess is it has something to do with the BIOS ...
1
vote
0answers
104 views

Another question about Hibernate in 18.04 (not a duplicate)

I have a fresh install of 18.04 on a brand-new high-end laptop. Hibernate works using sudo pm-hibernate By "works" I mean that it saves the system to disk, and powers down. Upon reboot, the session ...
1
vote
0answers
92 views

Hibernate with swap smaller than RAM [duplicate]

I'm running Ubuntu 18.04.1 LTS release. I cannot hibernate ubuntu properly. After turning the computer on, the computer does a full restart, as if it didn't know I did a hibernate. I used sudo ...
0
votes
1answer
240 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 ...
1
vote
1answer
56 views

Ubuntu won't find enough space to download itself

So I've been looking around all the internet, tried a lot of things, but still, this problem won't get fixed. I'm trying to install Ubuntu on my Lenovo Yoga 730, alongside Windows. The Ubuntu ISO is ...
0
votes
0answers
59 views

Windows 10 dual boot never resumes properly from hibernation after dual boot setup

I have the latest version of Windows 10 and decided to add budgie Ubuntu 18.04 on it and after that the hibernation of Windows 10 never resumes from where I left off. Instead it basically restarts the ...
1
vote
1answer
163 views

System is getting shutdown when battary is low (Ubuntu 18.04)

My system is getting shut down when the battery is low, I found this on below link also: https://help.ubuntu.com/stable/ubuntu-help/power-lowpower.html.en I need to set it to suspend or hibernate ...
0
votes
0answers
60 views

Hibernation is causing laptop to shutdown

I managed to increase my swapfile to 16GB because i want to hibernate my laptop. I tried with sudo systemctl hibernate but it's not working. The laptop is shutting down.
8
votes
2answers
4k views

How do I increase swapfile in Ubuntu 18.04? [duplicate]

I have laptop with 8 GB RAM and 1TB HDD. I have swapfile which is 2 GB (Ubuntu 18.04 uses a swapfile instead of a separate swap partition by default) and I want to increase it to use hibernation. I ...
0
votes
0answers
51 views

Ubuntu server 18.04 LTS is semi-hibernating

I've installed Ubuntu Server 18.04 LTS and am having a problem with it, every day in the morning I can't access it remotely via VNC and in addition, the mounted network folders are simply unmounted. ...
0
votes
0answers
44 views

unable to boot any of niether win7 nor ubuntu 18 [duplicate]

In my notebook (laptop) I was having Windows 7. I installed Ubuntu 18.04 last night but after finishing and restarting not seen grub boot loader options, instead, it was showing error and a command ...
0
votes
0answers
29 views

After resizing the swap, takes too long opening and hibernate problem

I tried to increase swap size. and then had those problems AFter restarting, swap becomes 0 gb but solved the temporary swap size problem. Normally it took 3 seconds to open laptop but now it ...
0
votes
0answers
368 views

Hibernation and Sleep mode not working as expected

Every time I try sleep mode computer won't partially shut down as expected, it just log out. Similar strange behaviour apply to hibernation mode when computer restarts instead of shutting down (yes, ...
2
votes
1answer
152 views

Can you execute a custom shell command on power button or lid close?

I am trying to make hibernate work on my Ubuntu 18.04. I followed all the tutorials around (mostly from the answers here: How can I hibernate on Ubuntu 16.04?) So far, executing pm-hibernate on the ...
0
votes
0answers
51 views

Resuming from hibernation Color profile Error

When resuming from hibernation I get the following error message: Started Manage, Install and Generate Color Profiles. Followed by only an OK button. Then nothing happens, and the x server isn't ...
0
votes
0answers
75 views

Separate file for hibernation? Why use swap? [duplicate]

Why have one file, the swap file, with 2 purposes: a swap file that serves the purpose for both providing some extra memory for apps (swap) and also for storing the state of the entire system (...
0
votes
0answers
224 views

Is dual-boot Windows 10 with hibernation and Ubunutu 18.04 dangerous?

I want 3 partitions on the SSD of my Thinkpad (additional to the small standard partitions for windows recovery and so on): 1.) Windows 10 (This partition is called "C" in Windows) 2.) NTFS data ...
0
votes
0answers
94 views

GRUB Windows 10 hibernation not working

I have Ubuntu 18.04 and windows 10. When I choose windows in grub and then put windows to hibernate it is not loaded for it's state but GRUB is loaded once again and my state in windows is lost, so ...