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

def powermanage::PowerManage::getSupportedCpuPolicies (   self  ) 

Report a list of supported CPU policies 

Definition at line 382 of file powermanage.py.

00382                                      :
        """ Report a list of supported CPU policies """
        policies = []
        if len(self.cpu_policy['dynamic/ac']) > 0:
            policies.append('dynamic')
        if len(self.cpu_policy['powersave']) > 0:
            policies.append('powersave')
        if len(self.cpu_policy['performance']) > 0:
            policies.append('performance')
        return policies

    def getCpuPolicy(self):


Generated by  Doxygen 1.6.0   Back to index