So with the move to devicekit-power, I believe this is actually fixed.
It checks whether there is enough swap space before offering hibernate:
/**
* dkp_daemon_init:
**/
static void
dkp_daemon_init (DkpDaemon *daemon)
{
gfloat waterline;
daemon->priv = DKP_DAEMON_GET_PRIVATE (daemon);
daemon->priv->polkit = dkp_polkit_new ();
daemon->priv->lid_is_present = FALSE;
daemon->priv->lid_is_closed = FALSE;
daemon->priv->can_suspend = FALSE;
daemon->priv->can_hibernate = FALSE;
/* check if we have support */
dkp_daemon_check_state (daemon);
/* do we have enough swap? */
if (daemon->priv->can_hibernate) {
waterline = dkp_daemon_check_swap (daemon);
if (waterline > DKP_DAEMON_SWAP_WATERLINE) {
egg_debug ("not enough swap to enable hibernate");
daemon->priv->can_hibernate = FALSE;
}
}
}
** Package changed: pm-utils (Ubuntu) => devicekit-power (Ubuntu)
** Changed in: devicekit-power (Ubuntu)
Status: Triaged => Fix Released
--
hibernate included in shutdown menu, even if it can't work.
https://bugs.launchpad.net/bugs/223770
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs