arelange / gnome-shell-extension-hibernate-status

Gnome Shell extension that adds a hibernate/hybrid suspend button in Status menu.
GNU General Public License v2.0
155 stars 56 forks source link

No feedback when hibernate is not supported because of SecureBoot #17

Closed ghost closed 4 years ago

ghost commented 6 years ago

When clicking on the button, it ask me if I really want to hibernate, but after clicking yes, nothing happens. Same for the hybrid sleep.

There is not output in the journal.

ghost commented 6 years ago

EDIT: In my case Secure Boot prevented hibernation. A error message would be nice.

See e.g. https://askubuntu.com/questions/868208/how-to-activate-hibernation-in-16-04-1-systemd for explanation and how to detect it (/sys/power/disk).

p91paul commented 4 years ago

Now we have a 20 seconds timer. If after 20 seconds the timer is actually called, it means hibernation failed and a dialog presenting the problem is shown to the user.