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

def guidance-power-manager::PowerManager::changeBatteryBrightness (   self,
  level = None 
)

Battery-powered brigthness slider has been moved. 

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

00884                                                  :
        """ Battery-powered brigthness slider has been moved. """
        # Check if the state applies and adjust brightness immediately.
        if self.powermanager.onBattery() and self.powermanager.hasBrightness:
            if not level:
                level = self.BatteryBrightnessSlider.value()
            self.powermanager.adjustBrightness(level)

    def checkCpuFreq(self):


Generated by  Doxygen 1.6.0   Back to index