diff options
author | Rob Taylor <rob.taylor@codethink.co.uk> | 2007-08-22 14:49:15 +0100 |
---|---|---|
committer | Rob Taylor <rob.taylor@codethink.co.uk> | 2007-08-22 15:17:50 +0100 |
commit | f25e07b522c757722c8b8ada2c0201b122355731 (patch) | |
tree | 9bb413d71196102643927ae5e87e0e56b4cc24bd | |
parent | 7ba694c385e62e6d668202952969c007ab364792 (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.c | 1 |
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); } } |