add fix to "https://help.ubuntu.com/stable/ubuntu-help/power-suspendfail.html.en"

Bug #1804886 reported by Tim Richardson
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-user-docs (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

on https://help.ubuntu.com/stable/ubuntu-help/power-suspendfail.html.en
there is advice for what to do when your laptop is suspended but will not resume.

One more tip should be provided:

Current text:

If you suspend your computer and then press a key or click the mouse, it should wake up and display a screen asking for your password. If this does not happen, try pressing the power button (do not hold it in, just press it once).

If this still does not help, make sure that your computer’s monitor is switched on and try pressing a key on the keyboard again.

As a last resort, turn off the computer by holding in the power button for 5-10 seconds, although you will lose any unsaved work by doing this. You should then be able to turn on the computer again.

Recommened text:

If you suspend your computer and then press a key or click the mouse, it should wake up and display a screen asking for your password. If this does not happen, try pressing the power button (do not hold it in, just press it once).

------ NEW
If this does not work, disconnect and reconnect the power adapter (when it is powered on at the wall socket).
-------

If this still does not help, make sure that your computer’s monitor is switched on and try pressing a key on the keyboard again.

As a last resort, turn off the computer by holding in the power button for 5-10 seconds, although you will lose any unsaved work by doing this. You should then be able to turn on the computer again.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-docs (Ubuntu):
status: New → Confirmed
Revision history for this message
Risto Mononen (risto-mononen-deactivatedaccount) wrote :

There's a lot of questions about suspend / resume in askubuntu.com. The root cause of the problems is too small swap file. It's only 2G by default and too small to store the RAM contents which are typically 4-16G of physical memory. Increasing the swap size to be at least equal with RAM solves the problem.

-------- NEW

After the Ubuntu installation the default swapfile is only 2G in and any larger RAM cannot be saved saved when hibernating or suspending. The following commands increase the swap size to 16G which usually solves the issue:

sudo swapoff
sudo fallocate -l 16G /swapfile
sudo swapon

--------

Revision history for this message
Risto Mononen (risto-mononen-deactivatedaccount) wrote :

Sorry, the above fixed only the suspend function. Hibernate needs grub and ramfs settings, and a bit more effort.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks for initial report and additional suggestions!

That page is actually from GNOME Help:

https://gitlab.gnome.org/GNOME/gnome-user-docs/-/blob/master/gnome-help/C/power-suspendfail.page

It would be great if you could submit an upstream issue with your suggestions:

https://gitlab.gnome.org/GNOME/gnome-user-docs/-/issues

If you do, please post the URL to the upstream issue here for tracking purposes.

affects: ubuntu-docs (Ubuntu) → gnome-user-docs (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.