File gnome-power-manager-no-fallback-to-hibernate.patch of Package gnome-power-manager
diff --git a/src/gpm-manager.c b/src/gpm-manager.c
index 3572c13..84651c9 100644
--- a/src/gpm-manager.c
+++ b/src/gpm-manager.c
@@ -840,15 +840,10 @@ gpm_manager_idle_do_sleep (GpmManager *manager)
manager->priv->idle_sleep = TRUE;
ret = gpm_control_suspend (manager->priv->control, &error);
if (!ret) {
- g_warning ("cannot suspend (error: %s), so trying hibernate", error->message);
+ g_warning ("cannot suspend (error: %s)", error->message);
g_error_free (error);
error = NULL;
- ret = gpm_control_hibernate (manager->priv->control, &error);
- if (!ret) {
- g_warning ("cannot suspend or hibernate: %s", error->message);
- g_error_free (error);
- manager->priv->idle_sleep = FALSE;
- }
+ manager->priv->idle_sleep = FALSE;
}
} else if (policy == GPM_ACTION_POLICY_HIBERNATE) {