Comment 6 for bug 223770

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 223770] Re: hibernate included in shutdown menu, even if it can't work.

Something worth noting is that depending on capacity of the swap and the
current memory usage, whether or not there is enough free space on the
swap to fit the total memory used can be transient. However,
gnome-power-manager only checks (with pm-is-supported --hibernate) for
the status of hibernate support only once, if I'm not mistaken. If it
fails once, it does not try again.

Another thing worth noting is that, supposing the user is using uswsusp,
compression is generally used on the swap image, so it would be pretty
hard to figure out whether it can actually the used memory can actually
fit into the swap or not, under certain circumstances, because the
compression ratio is unpredictable.

As for the case of tuxonice, I have absolutely no idea about how that
works, having never used it before.

Perhaps it might be a good idea to file this bug upstream.
--
Chow Loong Jin