summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Taylor <rob.taylor@codethink.co.uk>2007-08-22 14:49:15 +0100
committerRob Taylor <rob.taylor@codethink.co.uk>2007-08-22 15:17:50 +0100
commitf25e07b522c757722c8b8ada2c0201b122355731 (patch)
tree9bb413d71196102643927ae5e87e0e56b4cc24bd
parent7ba694c385e62e6d668202952969c007ab364792 (diff)
add some debug when suspending
In the suspend policy plugin, add some debug output before suspending for ease of debugging...
-rw-r--r--plugins/policy/suspend/ohm-plugin-suspend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/policy/suspend/ohm-plugin-suspend.c b/plugins/policy/suspend/ohm-plugin-suspend.c
index 794dcef..5fe9dd2 100644
--- a/plugins/policy/suspend/ohm-plugin-suspend.c
+++ b/plugins/policy/suspend/ohm-plugin-suspend.c
@@ -151,6 +151,7 @@ plugin_notify (OhmPlugin *plugin, gint id, gint value)
} else if (id == CONF_TIMEOUTS_POWERDOWN_CHANGED) {
/* only match on idle, not reset */
if (value == 1) {
+ g_debug ("powerdown is 1, suspending");
system_is_idle (plugin);
}
}