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

def guidance-power-manager::PowerManager::_policyChangeMessage (   self,
  policy 
) [private]

Properly localized text notification for policy change. 

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

00488                                           :
        """ Properly localized text notification for policy change. """
        if policy == "dynamic":
            return i18n("CPU frequency policy changed to dynamic.")
        elif policy == "performance":
            return i18n("CPU frequency policy changed to performance.")
        elif policy == "powersave":
            return i18n("CPU frequency policy changed to powersave.")
        else:
            return i18n("CPU frequency policy changed to %1.", policy)

    def setCpuPolicyDynamic(self):


Generated by  Doxygen 1.6.0   Back to index