[Redmi Note 2 General] vetefan:
With reference to http://xdaforums.com/showthread.php?t=2326889, I modified the init.d script to change to powersave when the screen is off.

I tried to set the volt stress test again but seems the voltage still go high after reboot for a while.

#!/system/bin/sh

##################################################################################
################################Start of options##################################
##################################################################################

###################AWAKE GOVERNORS####################
AWAKE_GOVERNOR="interactive"
AWAKE_POWERSAVE_GOVERNOR="interactive"
AWAKE_HYPER_GOVERNOR="ondemand"

###################AWAKE PARAMETERS###################
AWAKE_FREQ="2158000"
AWAKE_POWERSAVE_FREQ="1326000"
AWAKE_HYPER_FREQ="2158000"

###################INTERACTIVE PARAMETERS###################
HISPEED_FREQ="1183000" # 1183000 default
GO_HISPEED_LOAD="95" # 99 default
TARGET_LOADS="90 403000:75 806000:80 1183000:84 1326000:88 1482000:92" # 90 default
TIMER_RATE="40000" #20000 default
MIN_SAMPLE_TIME="10000" #20000 default
ABOVE_HIGHSPEED_DELAY="20000 1326000:60000" #20000 default
TIMER_SLACK="10000" #20000 default

###################SLEEP GOVERNORS####################
SLEEP_GOVERNOR="powersave"

###################SLEEP PARAMETERS####################
SLEEP_FREQ="403000"

##################PAUSE VARIABLES###################
ALREADY_AWAKE=0
ALREADY_SLEEP=0
SYS_PERF_PROFILE_CURRENT=99

##################################################################################
#################################End of options###################################
##################################################################################

##################NORMAL TWEAKS###################
# Tweak IO Scheduler
echo deadline > /sys/block/mmcblk0/queue/scheduler # cfq default. choices: cfq deadline noop
# echo 0 > /sys/block/mmcblk0/queue/iosched/slice_idle # only required if cfq or bfq chosen above
echo 256 > /sys/block/mmcblk0/queue/read_ahead_kb # 128 default. choose from 128, 256, 512, 1024, 2048
#Tweak VM
echo 300 > /proc/sys/vm/dirty_expire_centisecs # 200 default. Do not exceed 500 (5 seconds)
echo 500 > /proc/sys/vm/dirty_writeback_centisecs # 300 default. Do not exceed 500 (5 seconds)
#Tweak Entropy
echo 512 > /proc/sys/kernel/random/read_wakeup_threshold #64 default. choose from: 64, 128, 256, 512, 1024, 2048
echo 1024 > /proc/sys/kernel/random/write_wakeup_threshold #128 default. choose from: 128, 256,512, 1024, 2048, 4096
#Tweak for wifi router connection issues
echo 1 > /proc/sys/net/ipv6/conf/wlan0/disable_ipv6
#Turn off touchboost
echo 0 > /proc/cpufreq/cpufreq_limited_by_hevc
chmod 0400 /proc/cpufreq/cpufreq_limited_by_hevc
##################################################

#Infinite while loop to make sure correct governor, scheduler, and frequencies always applied
while [ 1 ]
do

##################################################################################
#####Function to set scheduler, governor, and frequencies based on variables######
##################################################################################
set_cpu_freq() {
if [ $ALREADY_AWAKE = 0 ]; then
AWAKE=`cat /sys/power/wait_for_fb_wake`

if [ $AWAKE = "awake" ]; then
awake_freq
fi;
AWAKE=;

elif [ $ALREADY_SLEEP = 0 ]; then
SLEEPING=`cat /sys/power/wait_for_fb_sleep`
if [ $SLEEPING = "sleeping" ]; then
sleep_loop
fi;
SLEEP=;

fi;
}

##################################################################################
###############Function to Set Awake and Over Battery Limit Profile###############
##################################################################################
awake_freq() {

SYS_PERF_PROFILE=`getprop sys.perf.profile`

interactive_tweak() {
echo $HISPEED_FREQ > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
echo $GO_HISPEED_LOAD > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
echo $TARGET_LOADS > /sys/devices/system/cpu/cpufreq/interactive/target_loads
echo $TIMER_RATE > /sys/devices/system/cpu/cpufreq/interactive/timer_rate
echo $MIN_SAMPLE_TIME > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
echo $ABOVE_HIGHSPEED_DELAY > /sys/devices/system/cpu/cpufreq/interactive/above_highspeed_delay
echo $TIMER_SLACK > /sys/devices/system/cpu/cpufreq/interactive/timer_slack
}

if [ $SYS_PERF_PROFILE -ne $SYS_PERF_PROFILE_CURRENT ]; then
case $SYS_PERF_PROFILE in
0)	#POWERSAVE
echo "1" > /proc/hps/enabled
echo 2 > /proc/hps/num_limit_low_battery
echo 2 > /proc/hps/num_limit_power_serv
echo 2 > /proc/hps/num_limit_thermal
echo 2 > /proc/hps/num_limit_ultra_power_saving
echo $AWAKE_POWERSAVE_GOVERNOR > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo $AWAKE_POWERSAVE_FREQ > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo $AWAKE_POWERSAVE_FREQ > /proc/cpufreq/cpufreq_limited_max_freq_by_user
if [ $AWAKE_POWERSAVE_GOVERNOR -eq "interactive" ]; then
interactive_tweak
fi
$SYS_PERF_PROFILE_CURRENT=$SYS_PERF_PROFILE
;;
2)	#HYPER
echo "1" > /proc/hps/enabled
echo 8 > /proc/hps/num_limit_low_battery
echo 8 > /proc/hps/num_limit_power_serv
echo 8 > /proc/hps/num_limit_thermal
echo 8 > /proc/hps/num_limit_ultra_power_saving
echo $AWAKE_HYPER_GOVERNOR > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo $AWAKE_HYPER_FREQ > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo $AWAKE_HYPER_FREQ > /proc/cpufreq/cpufreq_limited_max_freq_by_user
if [ $AWAKE_HYPER_GOVERNOR -eq "interactive" ]; then
interactive_tweak
fi
$SYS_PERF_PROFILE_CURRENT=$SYS_PERF_PROFILE
;;
*)	#NORMAL
echo "1" > /proc/hps/enabled
echo 8 > /proc/hps/num_limit_low_battery
echo 8 > /proc/hps/num_limit_power_serv
echo 4 > /proc/hps/num_limit_thermal
echo 4 > /proc/hps/num_limit_ultra_power_saving
echo $AWAKE_GOVERNOR > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo $AWAKE_FREQ > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo $AWAKE_FREQ > /proc/cpufreq/cpufreq_limited_max_freq_by_user
if [ $AWAKE_GOVERNOR -eq "interactive" ]; then
interactive_tweak
fi
$SYS_PERF_PROFILE_CURRENT=$SYS_PERF_PROFILE
;;
esac
fi
ALREADY_AWAKE=1
ALREADY_SLEEP=0
}

##################################################################################
###################Function to Initiate the 10 Second Sleep Timer#################
##################################################################################
sleep_loop() {
SEC_COUNT=0

while [ $SEC_COUNT -lt 10 ]
do

sleep 1
SEC_COUNT=$((SEC_COUNT+1))

####Write dumpsys of window policy to /data/governordumpsys####
dumpsys window policy | grep -q "mScreenOnFully=true"
SCREEN=$?

####If /data/governordumpsys returns Screen On reset set_cpu_freq function and break counter####
if [ $SCREEN -eq "0" ]; then
ALREADY_AWAKE=0
ALREADY_SLEEP=0
set_cpu_freq
SCREEN=;
break
fi;

done

##################################################################################
###########################Function to Set Sleep Profile##########################
##################################################################################
sleep_set_freq() {
###################SLEEP CPU GOVERNOR####################
echo $SLEEP_GOVERNOR > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "0" > /proc/hps/enabled
echo "0" > /sys/devices/system/cpu/cpu1/online
echo "0" > /sys/devices/system/cpu/cpu2/online
echo "0" > /sys/devices/system/cpu/cpu3/online
echo "0" > /sys/devices/system/cpu/cpu4/online
echo "0" > /sys/devices/system/cpu/cpu5/online
echo "0" > /sys/devices/system/cpu/cpu6/online
echo "0" > /sys/devices/system/cpu/cpu7/online
echo $SLEEP_FREQ > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo $SLEEP_FREQ > /proc/cpufreq/cpufreq_limited_max_freq_by_user
SYS_PERF_PROFILE_CURRENT=99
}

####Write dumpsys of window policy to /data/governordumpsys again####
dumpsys window policy | grep -q "mScreenOnFully=true"
SCREEN=$?

####If /data/governordumpsys returns Screen Off start sleep_set_freq function####
if [ $SCREEN -eq "1" ]; then
sleep_set_freq
ALREADY_AWAKE=0
ALREADY_SLEEP=1
fi;

SCREEN=;

}

#####################Call set_cpu_freq Function#####################
set_cpu_freq
done