Happens again with 4.6beta1, cloning as powerdevil was rewritten. +++ This bug was initially created as a clone of Bug #210389 +++ Version: (using KDE 4.3.2) OS: Linux Installed from: Ubuntu Packages Hardware: Acer AOD250 Distro: Kubuntu 9.04 KDE: 4.3.2 If I do not touch any keys or mouse and leave my laptop plugged in for any amount of time longer than when it would suspend to RAM if it were unplugged, and then unplug the computer, it automatically hibernates. This is quite annoying since I tend to unplug it before moving it to use it. To prevent this I must remember to touch a key before unplugging it. Then the idle counter is restarted and it won't suspend when I unplug it. If there is any way to detect "the power was -just- disconnected, therefore restart the idle counter" that would be fantastic. To replicate: 1. check the timer on when your laptop would suspend if running on battery 2. plug in computer (power) 3. leave it alone for that time +1 minute (for good measure) 4. touch no keys or mouse or mouse button 5. unplug the power 6. watch your computer suspend to RAM even if you are fast enough to click "Cancel" on the notification 7. gnash teeth and foam at mouth (that part is optional, but it's what I feel like doing as I watch my computer suspend when I really want to use it instead) As a sort'a aside, and I've filed a bug on this particular issue, this is particularly annoying now since my wireless hardware doesn't work upon resuming. I have to reboot. This mere annoyance has turned into a downright frustration now. Since things used to be better, I am confident they can be restored to that better state, and optimistic that you folks a Super Cool enough to make it even better than before.
SVN commit 1201734 by dafre: BUG:257871 Fake user activity on adapter plug/unplug M +2 -0 powerdevilcore.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1201734
\o/