Hibernate option should not show when swap not present

Bug #96257 reported by Eugenia Loli-Queru
2
Affects Status Importance Assigned to Milestone
hal (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

My laptop has 2 GBs of RAM so I didn't bother creating a swap partition or file (although I might do in the future). When swap is not present, the gnome-shutdown panel should not offer the "hibernate" option because hibernation is not possible without the presence of swap in the system.

Tags: suspend
Revision history for this message
Eugenia Loli-Queru (eloli) wrote :

Not sure if this falls only under gnome-power-manager, because gnome-session (the shutdown window after you click on the "logout/shutdown" button) and GDM also show that option.

Revision history for this message
Oliver Grawert (ogra) wrote :

g-p-m only reads the info from hal, hal should be fixed to disable the "can hibernate" signal if there is no swapspace present

Revision history for this message
Louis-Dominique Dubeau (ldd) wrote :

This bug is still present in Hardy Heron. I installed Kubuntu 8.04 on my wife's laptop. I did not setup a swap because 4GB of RAM is more than she'll ever need. Hibernate is still available in KDE even though there is no swap. I'm assuming KDE does the same thing as Gnome and relies on hal to decide whether the machine can hibernate or not.

Daniel T Chen (crimsun)
Changed in hal:
status: New → Confirmed
Revision history for this message
dino99 (9d9) wrote :
Changed in hal (Ubuntu):
status: Confirmed → Invalid
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.