← Back to team overview

documentation-packages team mailing list archive

[Bug 1804886] Re: add fix to "https://help.ubuntu.com/stable/ubuntu-help/power-suspendfail.html.en"

 

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

--------

-- 
You received this bug notification because you are a member of
Documentation Packages, which is subscribed to ubuntu-docs in Ubuntu.
https://bugs.launchpad.net/bugs/1804886

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

Status in ubuntu-docs package in Ubuntu:
  Confirmed

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-docs/+bug/1804886/+subscriptions



References