Shall we hide the GUI for Hibernate in Natty?

Martin Pitt martin.pitt at ubuntu.com
Tue Feb 1 14:10:27 UTC 2011


Scott Ritchie [2011-01-31 17:40 -0800]:
> Shouldn't we be detecting when there's insufficient swap / disk space
> and then hiding it then?

upower already does that check, and sets the "can-hibernate" property
to False in that case (which determines UI visibility).

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



More information about the ubuntu-devel mailing list