GNOME Bugzilla – Bug 688878
Notified about impossible action
Last modified: 2012-11-29 22:17:12 UTC
Hibernation is not available on my machine (swap size < RAM size) This is shown correctly in the Power panel (grayed out option) If Hibernation is selected for "critically low battery" (it is the default after all), g-s-d will warn that it will soon hibernate, which it cannot. It should automatically fallback to suspending, or simply warning that everything will soon be lost and shutdown the machine in this case.
Created attachment 229643 [details] shot
Created attachment 230243 [details] [review] power: Check if action is available before taking action Don't show a "About to hibernate" warning when we know the machine cannot suspend, by taking into account the availability of the requested action type before taking action.
Attachment 230243 [details] pushed as ff91a24 - power: Check if action is available before taking action