forcing upower to report can-hibernate = yes?

Lara Michaels laramichaels1978 at yahoo.com
Mon Apr 19 09:04:18 PDT 2010


Hi Richard,

Thank you for your reply.

> > 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?

Because I had decided that I preferred to give up the advantages of having swap than wasting the time required to get encrypted swap + hibernation to work. : )

> 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.

I see. Perhaps others would also find it useful, as seems to be tradition in so much free software : ), to allow users to force upower to report a certain value when they are sure of what they are doing. Especially because upower now plays such a central role in providing info for power applets, gnome-power-manager, etc. 


Cheers,

lara




      


More information about the devkit-devel mailing list