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

def powermanage::PowerManage::_sleepMode (   self,
  command 
) [private]

Send the system into S3 or S4 not using HAL. 

Definition at line 601 of file powermanage.py.

00601                                  :
        """ Send the system into S3 or S4 not using HAL. """
        debug("Initiating a sleep cycle")
        if os.system(command) != 0:
            print "sleepmode failed. ("+command+")"
            return False
        debug("Everything is dandy")
        return True

    def shutdown(self):


Generated by  Doxygen 1.6.0   Back to index