[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
Something similar:
http://forum.xda-developers.com/and...mod-gov-tuner-project-29th-june-2016-t3407828
Included in the latest "smiui" builds from mi-globe.
While it's very useful to enable init.d if your ROM doesn't have it, the profiles of gov tuner are too generic. Not saying that are bad or good because i didn't try them but they only changes the target_loads of the CPU and nothing more with frequencies that, for obvious reasons, are not suited around our device.
 

solis_f

Senior Member
Mar 26, 2015
1,000
578
0
I tried your script for days and it was quite good. I don't get though why we had 600mhz for little cores minimum frequency
 

GoldGanja

Senior Member
Jan 15, 2012
210
141
0
Napoli
I tried your script for days and it was quite good. I don't get though why we had 600mhz for little cores minimum frequency
In term of battery drain there should not be a great difference between 364 and 600 MhZ , anyway i've made a new version with the minimum freq. to 364. Try it! and report back please ...;)
 

marios199546

Senior Member
Dec 31, 2010
132
38
0
Hi ! I am using mokee rom and all cores never deep sleep.... Also big cores are never offline... Any idea ? (Also mokee rom doesnt use QCOMM hot plugs)
 

GoldGanja

Senior Member
Jan 15, 2012
210
141
0
Napoli

solis_f

Senior Member
Mar 26, 2015
1,000
578
0
Test results: To be honest, there hasn't been much improvement from stock since when the big cluster comes online it jumps to top frequency. I have near 80%time at top frequency on big cluster
 

GoldGanja

Senior Member
Jan 15, 2012
210
141
0
Napoli
Test results: To be honest, there hasn't been much improvement from stock since when the big cluster comes online it jumps to top frequency. I have near 80%time at top frequency on big cluster
Talkin about v0.8? because that's what i get in terms of times spent at each freq. after a while.
 

Attachments

  • Like
Reactions: AceStroke

solis_f

Senior Member
Mar 26, 2015
1,000
578
0
Talkin about v0.8? because that's what i get in terms of times spent at each freq. after a while.
Well I think something went wrong because it seems the governor for big cluster was set to performance for some unknown reason... This phone is driving me crazy
 

Danny94

Senior Member
Feb 11, 2012
788
156
63
Merano
@GoldGanja
i would test your script now but i have seen root is necassary and i removed root for SafetyNet :(.

But i would test your thermal-engine with some small modifications. Just have a few questions (im not android programmer =)).
Why do you use "quiet_therm" sensor instead of "xo_therm_buf" for the clusters (i think this sensor is near the battery) ?
Can i take some lower sampling as 5000 and 10000 like 1000 ? Or does lower sampling stress the performance ?

As i said i really like the way you manage to throttle step by step .
 
Last edited:

GoldGanja

Senior Member
Jan 15, 2012
210
141
0
Napoli
@GoldGanja
i would test your script now but i have seen root is necassary and i removed root for SafetyNet :(.

But i would test your thermal-engine with some small modifications. Just have a few questions (im not android programmer =)).
Why do you use "quiet_therm" sensor instead of "xo_therm_buf" for the clusters (i think this sensor is near the battery) ?
Can i take some lower sampling as 5000 and 10000 like 1000 ? Or does lower sampling stress the performance ?

As i said i really like the way you manage to throttle step by step .


As you can see not much of difference between the two...
As for the sampling rate, that value is in milliseconds. So sure you can lower it if you want, in the default configuration it was set to 1000.

Sent from my Mi-4c using Tapatalk
 
  • Like
Reactions: Danny94
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