Hibernate - How to enable
Tofloor
poster avatar
tecnohero
deepin
2017-04-22 22:45
Author
Hello everyone!

Is possible enable hibernation on Deepin? If yes, how to enable this option?

Reply Favorite View the author
All Replies
lulinux
deepin
2017-04-22 23:05
#1
You should make a swap partition at first.
Reply View the author
tecnohero
deepin
2017-04-22 23:53
#2
Yes, I already have a swap partition.

What is next step?
Reply View the author
lulinux
deepin
2017-04-23 00:12
#3
https://bbs.deepin.org/post/138236
Yes, I already have a swap partition.

What is next step?

What about swap partition size? Where is it? SSD?
Reply View the author
tecnohero
deepin
2017-04-23 00:24
#4
990MB, yes it is SSD.
Reply View the author
lulinux
deepin
2017-04-23 00:40
#5
I set it 2G, on HDD instead of SDD. The physical memory is 8G.
I can hibernate my Deepin computer every day.
Don't forget to be sure that fstab and grub.cfg contain swap partition.
Reply View the author
166******72
deepin
2017-04-23 05:09
#6
本帖最后由 angrysnowbear 于 2017-4-22 21:14 编辑

990MB SWAP is too little,may cause an error. If you need to use the sleep function,it is recommended that the size of SWAP is equal to that of memory,at least 50% of memory size.
If you don't need dormancy function,then 0.5GB can.
990MB交换分区太小,可能会出现错误。若需要使用休眠功能,建议交换分区的大小与内存相等,至少是内存的50%。
如果不需要休眠功能,那么0.5GB即可。
Reply View the author
tecnohero
deepin
2017-04-23 07:34
#7
https://bbs.deepin.org/post/138236
本帖最后由 angrysnowbear 于 2017-4-22 21:14 编辑

990MB SWAP is too little,may cause an error. If  ...

Okay, but after resize my swap partition, what I need do to enable hibernation? Or Deepin will automatically enable it when my swap is the right size?
Reply View the author
166******72
deepin
2017-04-25 02:47
#8
https://bbs.deepin.org/post/138236
Okay, but after resize my swap partition, what I need do to enable hibernation? Or Deepin will aut ...

Deepin is enabled by default this function.Click "Suspend" button, equivalent to sleep.SWAP partitions need manual adjustment. If you want to achieve the Windows dormancy function, then sorry, deepin temporarily does not support.
deepin默认启用此功能。点击“Suspend”等同于睡眠。SWAP分区需要手工调整。如果你是想实现Windows的休眠功能,那么抱歉,deepin暂不支持。
Reply View the author
黑色
deepin
2017-04-25 04:57
#9
1.uswsusp(recommanded)
2.swap+manually modify boot up hook+systemctl
Reply View the author
tecnohero
deepin
2017-04-29 06:53
#10
Okay, Thanks!
Reply View the author
satriodwiprabowo
deepin
2017-04-30 05:12
#11
Disable kernel nouveau is work for me
Reply View the author