[upower] waterline for "enough swap for hibernate"

Martin Pitt martin.pitt at ubuntu.com
Wed Jul 7 02:23:19 PDT 2010


Hello Richard,

Richard Hughes [2010-07-07  9:45 +0100]:
> Right, please make that change in git master. I agree with your logic. Thanks.

http://cgit.freedesktop.org/upower/commit/?id=fc7c6e003a626367558300ce8566e346758ad8e7

A more robust solution might be to move that calculation into
pm-is-supported --hibernate, so that pm-utils can take the various
backends into account. But that should provide a better prediction for
the default native linux hibernation.

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/devkit-devel/attachments/20100707/0c725d9c/attachment.pgp>


More information about the devkit-devel mailing list