System Settings > Power allows 'Hibernation' to be selected 'When power is critically low' but not 'When the lid is closed'

Bug #1247201 reported by Dominic Chambers
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu GNOME
Confirmed
Wishlist
Unassigned

Bug Description

After Hiberenation has been enabled in Ubuntu (by creating a '/etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla' file and restarting) you get Hibernate menus in most places, including one the System Settings > Power panel, but for some reason it is only available for critical battery scenarios, and not for lid closing.

I expect to be able to hibernate my machine when I close the lid and the power is unconnected, or when the power becomes unconnected when the lid was already closed.

Revision history for this message
Tim Lunn (darkxst) wrote :

This is a limitation of logind, its not possible to actaully hibernate on lid-close.

You can however override the setting on a per-system basis in /etc/systemd/logind.conf

Changed in ubuntu-gnome:
importance: Undecided → Wishlist
Revision history for this message
Dominic Chambers (dominic-chambers) wrote :

Ah, okay, and so I guess this only works in a vanilla Ubuntu installs because they are still using ConsoleKit (which is now unmaintained) having yet to migrate to logind?

Thanks, Dominic.

Changed in ubuntu-gnome:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.