1
1
<?xml version="1.0" encoding="utf-8"?>
2
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="question" id="power-hibernate" xml:lang="ru">
2
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" xmlns:if="http://projectmallard.org/if/1.0/" type="topic" style="question" id="power-hibernate" xml:lang="ru">
5
5
<link type="guide" xref="power"/>
7
<desc>Hibernate saves your state, but completely switches off the power.</desc>
8
<revision pkgversion="3.4.0" date="2012-02-20" status="review"/>
7
<desc>Hibernate is disabled by default since it's not well supported.</desc>
8
<revision pkgversion="3.6.0" date="2012-08-14" status="review"/>
10
10
<credit type="author">
11
<name>GNOME Documentation Project</name>
11
<name>Проект документирования GNOME</name>
12
12
<email>gnome-doc-list@gnome.org</email>
14
14
<credit type="author">
15
<name>Ekaterina Gerasimova</name>
15
<name>Екатерина Герасимова (Ekaterina Gerasimova)</name>
16
16
<email>kittykat3756@gmail.com</email>
18
<credit type="author">
19
<name>Jeremy Bicha</name>
20
<email>jbicha@ubuntu.com</email>
19
23
<include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
28
<title>What happens when I hibernate my computer?</title>
32
<title>How do I hibernate my computer?</title>
30
34
<p>When the computer <em>hibernates</em>, all of your applications and
31
35
documents are stored and the computer completely switches off so it does not
32
36
use any power, but the applications and documents will still be open when you
33
switch on the computer again. You cannot hibernate the computer yourself, but you can set <gui>Hibernate</gui> as the default action for when your computer battery is critically low:</p>
36
<p>Click your name on the top bar and select <gui>System Settings</gui>.</p>
39
<p>Open <gui>Power</gui>.</p>
42
<p>Change the <gui>When power is critically low</gui> option to <gui>Hibernate</gui>.</p>
46
<p>Some computers have problems with hardware support which mean that they
47
<link xref="power-suspendfail">may not be able to suspend or hibernate
48
properly</link>. It is a good idea to test hibernate on your computer to see if
37
switch on the computer again.</p>
39
<p>Unfortunately, hibernate <link xref="power-suspendfail">doesn't work</link>
40
in many cases, which can cause you to lose data if you expect your documents
41
and applications to re-open when you switch your computer back on. Therefore,
42
hibernate is disabled by default.</p>
44
<section id="test-hibernate">
45
<title>Test if hibernate works</title>
51
47
<note style="important">
52
48
<title>Always save your work before hibernating</title>
55
51
recovered when you switch on the computer again.</p>
54
<p>You can use the command line to test if hibernate works on your computer.</p>
59
<if:when test="platform:unity">
60
<p>Open the <app>Terminal</app> by pressing <keyseq><key>Ctrl</key>
61
<key>Alt</key><key>t</key></keyseq> or by searching for <input>terminal</input>
62
in the <gui>dash</gui>.</p>
64
<p>Open the <app>Terminal</app> by searching for <input>terminal</input>
65
in the <gui>Activities overview</gui>.</p>
69
<p>As root, type <cmd>pm-hibernate</cmd> into the terminal and press <key>Enter</key>.</p>
70
<p>Enter your password when prompted.</p>
73
<p>After you computer turns off, switch it back on. Did your open applications
75
<p>If hibernate doesn't work, check if your swap partition is at least as large as your
82
<section id="enable-hibernate">
83
<title>Enable hibernate</title>
85
<p>If the hibernate test works, you can continue to use the <cmd>pm-hibernate</cmd>
86
command when you want to hibernate.</p>
88
<p>You can also enable the hibernate option in the menus. To do that, use your favorite text
89
editor to create <file>/etc/polkit-1/localauthority/50-local.d/org.gnome.enable-hibernate.pkla</file>.
90
Add the following to the file and save:</p>
92
<code its:translate="no">
93
[Re-enable hibernate by default]
95
Action=org.freedesktop.upower.hibernate