~ubuntu-branches/ubuntu/saucy/gnome-user-docs/saucy-proposed

« back to all changes in this revision

Viewing changes to gnome-help/C/power-hibernate.page

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-11-15 14:44:43 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20121115144443-znsud5byjojjhvc4
Tags: 3.6.2-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<page xmlns="http://projectmallard.org/1.0/"
 
2
      xmlns:its="http://www.w3.org/2005/11/its"
 
3
      xmlns:if="http://projectmallard.org/if/1.0/"
2
4
      type="topic" style="question"
3
5
      id="power-hibernate">
4
6
 
5
7
  <info>
6
8
    <link type="guide" xref="power"/>
7
9
 
8
 
    <desc>Hibernate saves your state, but completely switches off the power.</desc>
9
 
    <revision pkgversion="3.4.0" date="2012-02-20" status="review"/>
 
10
    <desc>Hibernate is disabled by default since it's not well supported.</desc>
 
11
    <revision pkgversion="3.6.0" date="2012-08-14" status="review"/>
10
12
 
11
13
    <credit type="author">
12
14
      <name>GNOME Documentation Project</name>
16
18
      <name>Ekaterina Gerasimova</name>
17
19
      <email>kittykat3756@gmail.com</email>
18
20
    </credit>
 
21
    <credit type="author">
 
22
      <name>Jeremy Bicha</name>
 
23
      <email>jbicha@ubuntu.com</email>
 
24
    </credit>
19
25
 
20
26
    <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
21
27
  </info>
22
28
 
23
 
<title>What happens when I hibernate my computer?</title>
 
29
<title>How do I hibernate my computer?</title>
24
30
 
25
31
<p>When the computer <em>hibernates</em>, all of your applications and
26
32
documents are stored and the computer completely switches off so it does not
27
33
use any power, but the applications and documents will still be open when you
28
 
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>
29
 
<steps>
30
 
  <item>
31
 
    <p>Click your name on the top bar and select <gui>System Settings</gui>.</p>
32
 
  </item>
33
 
  <item>
34
 
    <p>Open <gui>Power</gui>.</p>
35
 
  </item>
36
 
  <item>
37
 
    <p>Change the <gui>When power is critically low</gui> option to <gui>Hibernate</gui>.</p>
38
 
  </item>
39
 
</steps>
40
 
 
41
 
<p>Some computers have problems with hardware support which mean that they
42
 
<link xref="power-suspendfail">may not be able to suspend or hibernate
43
 
properly</link>. It is a good idea to test hibernate on your computer to see if
44
 
it does work.</p>
 
34
switch on the computer again.</p>
 
35
 
 
36
<p>Unfortunately, hibernate <link xref="power-suspendfail">doesn't work</link>
 
37
 in many cases, which can cause you to lose data if you expect your documents
 
38
 and applications to re-open when you switch your computer back on. Therefore,
 
39
 hibernate is disabled by default.</p>
 
40
 
 
41
<section id="test-hibernate">
 
42
<title>Test if hibernate works</title>
45
43
 
46
44
<note style="important">
47
45
  <title>Always save your work before hibernating</title>
50
48
  recovered when you switch on the computer again.</p>
51
49
</note>
52
50
 
53
 
</page>
 
51
<p>You can use the command line to test if hibernate works on your computer.</p>
 
52
 
 
53
<steps>
 
54
  <item>
 
55
    <if:choose>
 
56
      <if:when test="platform:unity">
 
57
        <p>Open the <app>Terminal</app> by pressing <keyseq><key>Ctrl</key>
 
58
        <key>Alt</key><key>t</key></keyseq> or by searching for <input>terminal</input>
 
59
        in the <gui>dash</gui>.</p>
 
60
     </if:when>
 
61
     <p>Open the <app>Terminal</app> by searching for <input>terminal</input>
 
62
     in the <gui>Activities overview</gui>.</p>
 
63
  </if:choose>
 
64
  </item>
 
65
  <item>
 
66
    <p>As root, type <cmd>pm-hibernate</cmd> into the terminal and press <key>Enter</key>.</p>
 
67
    <p>Enter your password when prompted.</p>
 
68
  </item>
 
69
  <item>
 
70
    <p>After you computer turns off, switch it back on. Did your open applications
 
71
       re-open?</p>
 
72
    <p>If hibernate doesn't work, check if your swap partition is at least as large as your
 
73
       available RAM.</p>
 
74
  </item>
 
75
</steps>
 
76
 
 
77
</section>
 
78
 
 
79
<section id="enable-hibernate">
 
80
<title>Enable hibernate</title>
 
81
 
 
82
  <p>If the hibernate test works, you can continue to use the <cmd>pm-hibernate</cmd>
 
83
  command when you want to hibernate.</p>
 
84
 
 
85
  <p>You can also enable the hibernate option in the menus. To do that, use your favorite text
 
86
  editor to create <file>/etc/polkit-1/localauthority/50-local.d/org.gnome.enable-hibernate.pkla</file>.
 
87
  Add the following to the file and save:</p>
 
88
 
 
89
<code its:translate="no">
 
90
[Re-enable hibernate by default]
 
91
Identity=unix-user:*
 
92
Action=org.freedesktop.upower.hibernate
 
93
ResultActive=yes
 
94
</code>
 
95
 
 
96
</section>
 
97
 
 
98
</page>
 
 
b'\\ No newline at end of file'