Version: (using KDE 4.3.1) Compiler: gcc (Gentoo 4.4.1 p1.0) 4.4.1 OS: Linux Installed from: Gentoo Packages When I have my laptop runnning for quite some time (I guess for at least the "When the system is idle for more than ... min" time) and then unplug the power cord, it will be sent to suspend-to-ram. I guess the problem is that the timer is running all the time - even when a power cord is plugged in. My suggestion is to only start the timer when the power cord is unplugged.
I can confirm this. The timer needs to run at all times because the profiles can be configured to do different things after the idle time. This is actually very easy to fix: AC adapter events should reset the idle time timer. More generally, I think any profile switch should cause this timer to be reset.
Duplicate of another bug. Will be fixed soon anyway *** This bug has been marked as a duplicate of bug 210389 ***