|
|
|
@ -1861,7 +1861,7 @@ void kpowersave::setSchemeSettings(){
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// --> set CPU Freq settings
|
|
|
|
|
if(hwinfo->supportCPUFreq()) {
|
|
|
|
|
if(hwinfo->supportCPUFreq() && hwinfo->isCpuFreqAllowed()) {
|
|
|
|
|
hwinfo->setCPUFreq( settings->cpuFreqPolicy, settings->cpuFreqDynamicPerformance);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -2250,7 +2250,7 @@ void kpowersave::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 );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|