[Bug 77623] Re: feisty kubuntu - laptop auto-suspends when on ac power even though set to do so only when on battery

Luka Renko lure.net at gmail.com
Wed Jan 3 20:17:54 UTC 2007


sebas, there seems to be some code that should protect this case:

       if idlesec - self.lastidlesec > 100:
            print "last:", idlesec - self.lastidlesec
            return # probably bogus idleseconds right after suspend
        self.lastidlesec = idlesec


The only problem I see is that lastidlesec is not updated after this change is detected, so idle handling may be completely disabled after resume. Or am I missing something?

-- 
feisty kubuntu - laptop auto-suspends when on ac power even though set to do so only when on battery
https://launchpad.net/bugs/77623




More information about the kubuntu-bugs mailing list