How to restore hibernate
Tofloor
poster avatar
Platypus
deepin
2012-08-23 14:30
Author
Hi there,

You may have a laptop and want put it into hibernate. Ubuntu and other OSs decided to disable this feature because it was not reliable. That is, it worked on some machines and not others. On some laptops it would not restore wireless for example. The following is from the "How to Geek" website and I acknowledge them for their work.

Here is a way to test if your computer can handle hiberate. Enter the following into your terminal and enter your administrator password when asked:

sudo pm-hibernate

Your computer will shut down and when you restart it, it should return to where you left off with all features enabled e.g. wireless. If it has worked for you then type this in terminal:

gksu gedit /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla

Then paste this into the open file:

[Enable Hibernate]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

Save and reboot and if your system is happy with hibernate, all should be well.
Reply Favorite View the author
All Replies
tuhaihe
deepin
2012-08-29 18:03
#1
thanks. Under Linux deepin, you can use the following command in the terminal:
  1. sudo apt-get install deepin-laptop-suspend
Copy the Code
Reply View the author
Platypus
deepin
2012-08-30 15:47
#2
Well, thanks for that. It is easier than the method I gave. Well done.
Reply View the author
bhanu11220teja
deepin
2016-02-06 08:36
#3
https://bbs.deepin.org/post/7397
thanks. Under Linux deepin, you can use the following command in the terminal:

It says Unable to locate package deepin-laptop-suspend on deepin 2014.2
Should we add any specific repository for this package ?
Reply View the author
dance707
deepin
2016-02-06 09:03
#4
Edited by dance707 at 2016-2-5 10:27
https://bbs.deepin.org/post/7397
It says Unable to locate package deepin-laptop-suspend on deepin 2014.2
Should we add any specific ...

The current version of Deepin 15.1 offers currently only Suspend from the control panel under Power Management.
Reply View the author