Bug 206751 - suspend to ram when unplugging powercord
Summary: suspend to ram when unplugging powercord
Status: RESOLVED DUPLICATE of bug 210389
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: powermanagement-daemon (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dario Freddi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-08 16:22 UTC by Per Öberg
Modified: 2010-10-02 12:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Per Öberg 2009-09-08 16:22:29 UTC
Version:           1.2.0 (using KDE 4.3.0)
OS:                Linux
Installed from:    Gentoo Packages

Wish/Bug: 

The power management daemon should treat, or should be able to be configured to treat, ac-unplugging as an event.

Explanation:

I usually leave my laptop on while going away for a little while. When I come back I sometimes start by unplugging the power-cord to be able to move the computer to the living room. With my current configuration the laptop is suspended to ram before i have time to put it down again. Since unplugging the power cord is, most oftenly, a deliberate action this has to be considered a faulty behavior. If the power management daemon treated unplugging as an event this should not happen.

I have configured my laptop to be switched on as long as the power cord is plugged in and to suspend to ram when idle for more than 15 minutes.
Comment 1 Dmitry Kholodilov 2009-09-09 23:28:14 UTC
I confirm this bug. When laptop stay for a time without any acting on it unplugging power cord causes suspending to ram ("sleeping"). May be it related with option "when system idle more than N minutes suspend to ram" in powersave profile?
I use KDE 4.2.4 with Qt 4.4 from openSUSE 11.1.
Comment 2 Dario Freddi 2009-12-01 19:02:20 UTC

*** This bug has been marked as a duplicate of bug 210389 ***