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

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

If supported, lock the screen and initiate a suspend to RAM (S3). 

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

00516                         :
        """ If supported, lock the screen and initiate a suspend to RAM (S3). """
        if self.canSuspend:
           self.suspend()
        else:
           print "Warning: DBUS suspend() called, but not supported."

    def tryHibernate(self):


Generated by  Doxygen 1.6.0   Back to index