Comment 16 for bug 193617

Revision history for this message
Cory Dodt (corydodt) wrote :

I agree with you in principal actually, but I think the problem has been poorly-defined. We need a separate definition: call it "active" power management and "passive" power management.

In active PM, the user has taken an action to cause it to happen, i.e. press the power button, pick the shutdown menu item, or closed the lid.

In passive PM, the system is doing something power management related because a timeout has expired.

In my opinion apps should never be able to prevent the first kind without some kind of system-level setting changed. Perhaps label it "allow applications to override lid closing/power button". Default to "no". Then your plugins can work.

The second, passive kind is the kind I think these features are *intended* to block, and maybe they ought to be able to. As long as we're adding settings, make this one a setting too, but default to "yes".