Upstream is waiting for a response to: Looking in detail, if you resume from the action, then we shouldn't re- action:
/* Always check if we already notified the user */ if (warning_type <= manager->priv->last_primary_warning) { gpm_debug ("Already notified %i", warning_type); return; } /* As the level is more critical than the last warning, save it */ manager->priv->last_primary_warning = warning_type; /* Do different warnings for each GPM_WARNING_* */ if (warning_type == GPM_WARNING_ACTION) { gchar *action; timeout = GPM_NOTIFY_TIMEOUT_LONG; So even in the action case we save the last_primary_warning value. And as we only reset manager->priv->last_primary_warning when we are identified as "charging" we shouldn't re-suspend. Can you grab a "gnome-power-manager --verbose --no-daemon" log when the critical action is performed, and you subsequently resume? Thanks. ** Changed in: gnome-power-manager (Ubuntu) Status: New => Incomplete -- g-p-m should on critical_action() on _transition_ https://bugs.launchpad.net/bugs/33434 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs