Here is a solution that worked for me.
Create the following script. in /etc/acpi/resume.d/75-dual-core-cpu-freq.sh
#!/bin/sh
SYS_DIR=/sys/devices/system/cpu #POLICY=performance ### # POLICY can be any of: # userspace powersave ondemand conservative performance # POLICY=ondemand
for CPU in `ls $SYS_DIR` do echo -n $POLICY > $SYS_DIR/$CPU/cpufreq/scaling_governor done #==========
Now the policy will be set correctly after a resume from hibernate or suspend state.
Here is a solution that worked for me.
Create the following script. in /etc/acpi/ resume. d/75-dual- core-cpu- freq.sh
#!/bin/sh
SYS_DIR= /sys/devices/ system/ cpu
#POLICY=performance
###
# POLICY can be any of:
# userspace powersave ondemand conservative performance
#
POLICY=ondemand
for CPU in `ls $SYS_DIR` $CPU/cpufreq/ scaling_ governor
do
echo -n $POLICY > $SYS_DIR/
done
#==========
Now the policy will be set correctly after a resume from hibernate or suspend state.