Comment 23 for bug 432598

Revision history for this message
Daniel Holbert (dholbert) wrote : Re: can_suspend and can_hibernate values aren't respected

@Martin:
> or be autodetected from the system whether it's capable of suspending
> in the first place (see devkit-power --dump, "can-suspend" and
> "can-hibernate" properties; this part should work fine).

This sounds like it'd still present "Hibernate" as an option on computers that have encrypted swap partitions (which intrinsically breaks hibernation). See comment 2 on this bug. We need a solution that lets me *prevent* myself from accidentally hibernating (and triggering unexpected results) on a system with encrypted swap.

If it's possible to auto-detect the encrypted swap and auto-disable hibernation in that situation, that's awesome. But in the absence of that ability, I think there needs to be something user-configurable.