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

def powermanage::PowerManage::adjustBrightness (   self,
  level 
)

Adjust the brightness via HAL. 

Definition at line 333 of file powermanage.py.

00333                                      :
        """ Adjust the brightness via HAL. """
        if not self.hasBrightness:
            debug("Brightness setting not supported.")
            return
        try:
            self.brightnessObject.SetBrightness(level, 
                    dbus_interface="org.freedesktop.Hal.Device.LaptopPanel")
        except dbus.DBusException, e:
            print e

    def _checkCpuCapabilities(self):


Generated by  Doxygen 1.6.0   Back to index