forcing upower to report can-hibernate = yes?

Richard Hughes hughsient at gmail.com
Mon Apr 19 02:19:14 PDT 2010


On 19 April 2010 05:25, Lara Michaels <laramichaels1978 at yahoo.com> wrote:
> I am using TuxOnIce on my system, and it allows me to hibernate to a swap partition present on my disk even if the swap partition is not mounted/active

So it's enabled just for hibernation? Why not just use a swap file?
Why is it disabled from general use after hibernation?

> How can I force upower to report "can-hibernate: yes"?

Well, currently it;s hardcoded. UPower does things like checking if
there is enough space to allow hibernation, which kind of breaks in
this kind of setup.

Richard.


More information about the devkit-devel mailing list