|
|
|
@ -1889,7 +1889,7 @@ void tdepowersave::setSchemeSettings(){
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// --> set CPU Freq settings
|
|
|
|
|
if(hwinfo->supportCPUFreq()) {
|
|
|
|
|
if(hwinfo->supportCPUFreq() && hwinfo->isCpuFreqAllowed()) {
|
|
|
|
|
hwinfo->setCPUFreq( settings->cpuFreqPolicy, settings->cpuFreqDynamicPerformance);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -2326,7 +2326,7 @@ void tdepowersave::handleResumeSignal() {
|
|
|
|
|
setAutoDimm(true);
|
|
|
|
|
|
|
|
|
|
// reset the CPU Freq Policy ... for more see https://bugzilla.novell.com/show_bug.cgi?id=223164
|
|
|
|
|
if(hwinfo->supportCPUFreq()) {
|
|
|
|
|
if(hwinfo->supportCPUFreq() && hwinfo->isCpuFreqAllowed()) {
|
|
|
|
|
hwinfo->setCPUFreq( settings->cpuFreqPolicy, settings->cpuFreqDynamicPerformance );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|