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

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

If supported, lock the screen and initiate a suspend to disk (S4). 

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

00523                           :
        """ If supported, lock the screen and initiate a suspend to disk (S4). """
        if self.canHibernate:
           self.hibernate()
        else:
           print "Warning: DBUS hibernate() called, but not supported."

    def blankScreen(self):


Generated by  Doxygen 1.6.0   Back to index