File gnome-power-manager-no-fallback-to-hibernate.patch of Package gnome-power-manager
Index: gnome-power-manager-2.28.1/src/gpm-manager.c
===================================================================
--- gnome-power-manager-2.28.1.orig/src/gpm-manager.c
+++ gnome-power-manager-2.28.1/src/gpm-manager.c
@@ -602,14 +602,9 @@ gpm_manager_idle_do_sleep (GpmManager *m
egg_debug ("suspending, reason: System idle");
ret = gpm_control_suspend (manager->priv->control, &error);
if (!ret) {
- egg_warning ("cannot suspend (error: %s), so trying hibernate", error->message);
+ egg_warning ("cannot suspend (error: %s)", error->message);
g_error_free (error);
error = NULL;
- ret = gpm_control_hibernate (manager->priv->control, &error);
- if (!ret) {
- egg_warning ("cannot suspend or hibernate: %s", error->message);
- g_error_free (error);
- }
} else {
/* we're back from suspend without an error, tell the
* user that we've actually suspended due to system