From f25e07b522c757722c8b8ada2c0201b122355731 Mon Sep 17 00:00:00 2001 From: Rob Taylor Date: Wed, 22 Aug 2007 14:49:15 +0100 Subject: add some debug when suspending In the suspend policy plugin, add some debug output before suspending for ease of debugging... --- plugins/policy/suspend/ohm-plugin-suspend.c | 1 + 1 file changed, 1 insertion(+) 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); } } -- cgit v1.2.3