From Fedora Project Wiki

Description

This test case tests hybrid suspend (AKA suspend to both) via the pm-suspend-hybrid command. On Fedora 18+ there is kernel support for this (on older Fedoras it is achieved by various hacks). This is both suspend to RAM and hibernation in one step. The advantage is quick resume in most cases and no lost work on accidental battery failure. In this case the machine will simply resume from hibernation when the power is restored. The disadvantage is slightly longer suspend (the image have to be written on disk).

Setup

  1. Check that you have pm-utils installed:
    $ rpm -q pm-utils
  2. Check that your platform correctly supports suspend and hibernate (i.e. pm-suspend and pm-hibernate both passed and you have done all setup presented there).
  3. Check that the hybrid suspend is supported on your platform:
    $ cat /sys/power/disk
    If there is suspend in the output, it signals that the hybrid suspend is supported.

How to test

  1. Run the following command:
    # pm-suspend-hybrid
  2. Wait until the system suspends to both (it typically takes cca. 2-60 seconds).
  3. Wake-up your system by e.g. hitting the power button (or maybe another button depending on your HW).

Expected Results

  1. System correctly suspends and also writes hibernation image.
  2. After wake-up system correctly resumes.
  3. In case power is accidentally lost, machine resumes from hibernation and no work is lost (in case you are running from live medium you may need to follow steps described in pm-hibernate in order to correctly resume from hibernation).
  4. NetworkManager re-establishes a network connection.