[GUIDE] Advanced Interactive Governor Script - Battery Life

Did this script helped you with battery life?

  • Yes, it's better now

    Votes: 31 81.6%
  • Nah!

    Votes: 7 18.4%

  • Total voters
    38

GoldGanja

Senior Member
Jan 15, 2012
210
141
0
Napoli
if you "stat -c %a" the file... what is the current permission level?
Code:
1|[email protected]:/proc/sys/kernel # stat -c %a sched_downmigrate
644
this is mine...plus check if the file owner and group owner are correct
Code:
[email protected]:/proc/sys/kernel # ls -la sched_downmigrate
-rw-r--r-- 1 root root 0 2017-01-02 11:58 sched_downmigrate
sched_upmigrate works? crosscheck with that.
 
  • Like
Reactions: solis_f

solis_f

Senior Member
Mar 26, 2015
1,000
578
0
if you "stat -c %a" the file... what is the current permission level?
Code:
1|[email protected]:/proc/sys/kernel # stat -c %a sched_downmigrate
644
this is mine...plus check if the file owner and group owner are correct
Code:
[email protected]:/proc/sys/kernel # ls -la sched_downmigrate
-rw-r--r-- 1 root root 0 2017-01-02 11:58 sched_downmigrate
sched_upmigrate works? crosscheck with that.
the commands return the same results. It's weird, after some testing I see that it sometimes gets applied and some others not ! By the way how do you come up with this values? I'm interested and governor tunable values tweaking. If you have in mind any good read that explains how to calculate these values, please share or PM me ! Right know I'm experimenting with full 6 core hot-plugging. If it turns out to be good, I will definitely share here too.

Edit: It seems that when I execute the script manually everything gets applied fine. When I let it apply itself through init.d the /proc/sys/kernel values are getting messed up. Sometimes it is upmigrate, sometimes downmigrate, sometimes both.
Also, minimum 633600 MHz for big cluster sometimes gets applied sometimes not, but most of the times not (But most likely it's just not detected by EX Kernel Manager since big cluster is almost always off)
 
Last edited:

andrei80

Senior Member
Jul 30, 2012
570
84
48
Barlad
Tried version 0.9. Little cores idle at 384, big cores stay offline while not needed and GPU idles at 180mhz, so all seems fine. Phone subjectively seems a bit slower when scrolling(in Facebook, where there are autoplaying movies mostly). Battery drain overnight doesn't seem better, it still burns about 1%/hour whick sucks...my last phones lost 1%/night. SOT seems a bit improved(Miui 8.2 weekly, about 3,5h default vs about 4h with script). Antutu performance decreased from 70+k to 61k. It might be more consistent though...
Just updated the rom last night and it unrooted automatically so I am using it without script for now(Kerned adiutor doesn't work without root, so settings don't apply)
 
  • Like
Reactions: GoldGanja

waingro808

Senior Member
Apr 23, 2013
435
108
0
im using v0.9 on cm 13 ts, i have no perfd file, is it normal? @GoldGanja

---------- Post added at 03:59 PM ---------- Previous post was at 03:58 PM ----------


btw i get 5hrs ++ sot with wifi use and 4g sometime with this tweak and thermal config
TS CM13 already does most of the same things, such as turn off big cores and GPU idle at 180mhz, so no real point in using this script. Check CPU-Z app.
 
  • Like
Reactions: IcyGlacial

halftwistlanc3

New member
Mar 5, 2018
1
0
0
i cant find TAO.log on sd i just manually paste the file to init.d from sdcard ang the thermal.conf in etc as well what about the permission of script after pasting? is there anything i need to change ?
 

wkobaint

Senior Member
Feb 7, 2013
614
157
73
i cant find TAO.log on sd i just manually paste the file to init.d from sdcard ang the thermal.conf in etc as well what about the permission of script after pasting? is there anything i need to change ?
It means the script not running.
I think using kernel adiutor is the most easy step.
You just see the step on the OP.

Better do not changes your's default thermal config to safe your devices from over heating.

In my experience, with the last update config it's quite good for daily gaming and chatting.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone