Hibernate option should not show when swap not present

Bug #96257 reported by Eugenia Loli-Queru on 2007-03-26
Affects Status Importance Assigned to Milestone
hal (Ubuntu)

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.

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.

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

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) on 2008-10-02
Changed in hal:
status: New → Confirmed
dino99 (9d9) wrote :
Changed in hal (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers