Hibernate should not be present if the user doesn't have a swap partition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hal (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: fast-user-
$apt-cache policy fast-user-
fast-user-
Installed: 2.24.0-0ubuntu13
Candidate: 2.24.0-0ubuntu13
Version table:
*** 2.24.0-0ubuntu13 0
500 http://
100 /var/lib/
--
It's possible that during install a user or OEM may opt to not include a swap partition due to being worried about wearing the SSD down sooner. When this happens, hibernate won't work because there is nowhere to write the memory out to.
Rather than trying and failing in a known failure situation, the FUSA applet should only present the option if the swap partition is present - AND large enough to accommodate the amount of ram that needs to be written to it during a hibernate request.
Changed in dell: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in hal (Ubuntu): | |
status: | New → Confirmed |
Changed in somerville: | |
importance: | Undecided → Wishlist |
status: | New → Fix Released |
no longer affects: | dell |
This should be in HAL because HAL shouldn't be reporting can_hibernate if the user doesn't have a swap.