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

def powermanage::PowerManage::_initLid (   self  )  [private]

Find out if there's a Lid device. 

Definition at line 266 of file powermanage.py.

00266                       :
        """ Find out if there's a Lid device. """
        lidDevice = self.hal_manager.FindDeviceStringMatch("button.type", "lid")
        if len(lidDevice) >= 1:
            self.hasLid = True
            self.lidObject = self.bus.get_object("org.freedesktop.Hal" ,lidDevice[0])

    def _initAc(self):


Generated by  Doxygen 1.6.0   Back to index