<?xml version="1.0" encoding="utf-8"?>
<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" version="1.0 if/1.0" id="power-hibernate" xml:lang="it">

  <info>
    <link type="guide" xref="power"/>

    <desc>Hibernate is disabled by default since it's not well supported.</desc>
    <revision pkgversion="3.6.0" date="2012-08-14" status="review"/>

    <credit type="author">
      <name>Progetto documentazione di GNOME</name>
      <email>gnome-doc-list@gnome.org</email>
    </credit>
    <credit type="author">
      <name>Ekaterina Gerasimova</name>
      <email>kittykat3756@gmail.com</email>
    </credit>
    <credit type="author">
      <name>Jeremy Bicha</name>
      <email>jbicha@ubuntu.com</email>
    </credit>

    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Luca Ferretti</mal:name>
      <mal:email>lferrett@gnome.org</mal:email>
      <mal:years>2011, 2012</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Flavia Weisghizzi</mal:name>
      <mal:email>flavia.weisghizzi@ubuntu.com</mal:email>
      <mal:years>2011, 2012</mal:years>
    </mal:credit>
  </info>

<title>Come faccio a ibernare il mio computer?</title>

<p>Quando il computer viene <em>ibernato</em>, tutte le applicazioni e i documenti vengono memorizzati e il computer viene spento completamente senza quindi utilizzare energia elettrica. Nonostante ciò, tutte le applicazioni e i documenti rimarranno aperti quando il computer viene riacceso.</p>

<p>Unfortunately, hibernate <link xref="power-suspendfail">doesn't work</link>
 in many cases, which can cause you to lose data if you expect your documents
 and applications to re-open when you switch your computer back on. Therefore,
 hibernate is disabled by default.</p>

<section id="test-hibernate">
<title>Verificare il funzionamento dell'ibernazione</title>

<note style="important">
  <title>Salvare sempre il proprio lavoro prima di ibernare</title>
  <p>È opportuno salvare tutto il proprio lavoro prima di ibernare il computer, nell'eventualità in cui qualcosa vada storto e non sia possibile ripristinare le applicazioni e i documenti quando si riaccende il computer.</p>
</note>

<p>È possibile utilizzare la riga di comando per verificare il funzionamento dell'ibernazione sul proprio computer.</p>

<steps>
  <item>
    <if:choose>
      <if:when test="platform:unity">
        <p>Open the <app>Terminal</app> by pressing <keyseq><key>Ctrl</key>
        <key>Alt</key><key>t</key></keyseq> or by searching for <input>terminal</input>
        in the <gui>dash</gui>.</p>
     </if:when>
     <p>Open the <app>Terminal</app> by searching for <input>terminal</input>
     in the <gui>Activities overview</gui>.</p>
  </if:choose>
  </item>
  <item>
    <p>As root, type <cmd>pm-hibernate</cmd> into the terminal and press <key>Enter</key>.</p>
    <p>Inserire la password quando richiesto.</p>
  </item>
  <item>
    <p>Dopo che il computer si sarà spento, riaccenderlo e verificare che le applicazioni aperte prima dell'ibernazione siano nuovamente aperte.</p>
    <p>Se l'ibernazione non funziona, controllare che la partizione di swap sia grande almeno quanto la memoria RAM disponibile.</p>
  </item>
</steps>

</section>

<section id="enable-hibernate">
<title>Abilitare l'ibernazione</title>

  <p>If the hibernate test works, you can continue to use the <cmd>pm-hibernate</cmd>
  command when you want to hibernate.</p>

  <p>You could also install the
  <link href="https://extensions.gnome.org/extension/755/hibernate-status-button/">
  <app>Hibernate Status Button</app></link> extension from the
  <link href="https://extensions.gnome.org">GNOME Extensions website</link>:</p>

  <steps>
    <item>
      <p>Switch <gui style="button">ON</gui> the
      <app>Hibernate Status Button</app> on
      <link href="https://extensions.gnome.org/extension/755/hibernate-status-button/">
      its extension page</link> by pressing the status button at the top
      left.</p>
    </item>
    <item>
      <p>You will be asked to confirm that you want to install the extension.
      Press <gui style="button">Install</gui>.</p>
    </item>
  </steps>

  <p>The button will now be added to the system menu on the right side of the
  top bar and can be pressed to hibernate your computer.</p>

  <note style="tip">
    <p>You can also hold down <key>Alt</key> while pressing the
    <em>hibernate</em> button to use the <em>hybrid-sleep</em> feature. The
    hybrid-sleep mode is a mix of the hibernate and sleep modes. This means
    that your computer remains powered on, so you can wake it up by pressing a
    key on the keyboard and all your open applications and documents are saved
    in the same state as before pressing the hybrid-sleep button.</p>
  </note>

</section>

</page>
