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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to