Logo Search packages:      
Sourcecode: guidance-power-manager version File versions

def guidance-power-manager::PowerManager::suspend (   self  ) 

Lock the screen and initiate a suspend to RAM (S3). 

Definition at line 462 of file guidance-power-manager.py.

00462                      :
        """ Lock the screen and initiate a suspend to RAM (S3). """
        if self.config.readEntry("lockOnResume", QVariant(True)).toBool():
            self.lockScreen()
        try:
            self.warningPopup.hide()
        except AttributeError:
            pass # No warningpopup, that's OK.
        self.powermanager.suspend()
        self.powermanager.resetIdleSeconds()

    def hibernate(self):


Generated by  Doxygen 1.6.0   Back to index