pm-suspend-hybrid support in DeviceKit-power and g-p-m

Emilio López buhitoescolar at gmail.com
Wed Dec 2 09:05:54 PST 2009


Hello,

2009/12/2 Tomasz Torcz <tomek at pipebreaker.pl>:
> On Wed, Dec 02, 2009 at 12:32:38PM +0000, Richard Hughes wrote:
>> 2009/12/2 Victor Lowther <victor.lowther at gmail.com>:
>> > What needs to be done to teach devicekit-power and gnome-power-manager
>> > about hybrid suspend?  I am going to have a hybrid suspend mode as an
>> > option in pm-utils that does not rely on userspace suspend or tuxonice,
>> > but I am not offered hybrid suspend as an option in the GUI.
>>
>> Right, you have to bear in mind the options g-p-m gives are the ones
>> users understand.
>>
>> To a user:
>>
>> suspend = quick, but bad if my battery runs out
>> hibernate = sloooow, but good if my battery runs out
>
> suspend = eats battery
> hibernate = battery stays charged
>
>>
>> So in that sense, I would think mapping the DeviceKit-power
>> Hibernate() method [and thus g-p-m] to hybrid suspend on systems that
>> support it to be a very good idea.
>
>  This way you would loose one great advantage of hibernate, namely
> not using battery.

Maybe another option could be added, something like "Safe Suspend".
That way you get the idea that it uses battery, but also that your
data is safe if it runs out of power. That option would do hybrid
suspend. What do you think?


More information about the devkit-devel mailing list