Hi XDA !
I just want to share my init.d script to improve battery life on stock !
Root your device, and use an app like universal init.d (see play store).
This script will lower the minimum CPU scaling frequency to 300k, change all core governors to conservative and make it reach the higher CPU freq. when needed.
Happy testing !
Спасибо!
Related
I'm a slightly android noob. but What are Governors i kept hearing about, especially on the AbyssNote kernel thread page.
angelom said:
AbyssNote kernel 3.3 Original Logo
Changelog:
Changed conservative governor
Changed default governor ondemand with sampling rate of 100000. use setcpu or scripts to lower it (or try conservative governor) if you prefer performance over battery life.
Changed lulzactive governor so that it uses idle notifier + some other tiny tweaks
Added Hotplug Governor
Changed Wifi drives...
Click to expand...
Click to collapse
Does it refer to the SetCPU's profile option?
And by the way when we set the profile on SetCPU, does it automatically help us to undervolt the Note? Or undervolting is left to the user to set?
For a guide on govenors take a look at this
Govenors
i dont oc or uv bbut these are normally set by the user, many threads have recommended settings
I'm currently on Zeus v7.01 with dianaV2.3+ kernel and I'm wondering what is the best combination of Governor/IO Scheduler/Voltage to obtain the most best battery life.
I'm not searching for best performance honestly, but instead a longer lasting phone. lol
I rarely play games, and smoothness is not a must for me (Nemus Launcher does the job, smoothest launcher ever!)
My current settings are:
CPU Frequency Tweaks
Max freq: 1000
Min freq: 100
DVFS enabled on boot
Voltage Tweak: -5
Governor: ondemandX
Io Scheduler: sio (Simple I/O)
You could try undervolting your phone,because i like performance and smoothness,my setup is like that:
Max CPU frequency:1300Mhz
Min CPU frequency:300Mhz
Governor:Smartassv2
I/O scheduler:deadline.
Sorry for useless stuff,but i like to share
My main agenda is to help, not gain thanks.
UniversalSS said:
You could try undervolting your phone,because i like performance and smoothness,my setup is like that:
Max CPU frequency:1300Mhz
Min CPU frequency:300Mhz
Governor:Smartassv2
I/O scheduler:deadline.
Sorry for useless stuff,but i like to share
My main agenda is to help, not gain thanks.
Click to expand...
Click to collapse
No no it's nice to share your experience!!
Might help others..
Hmm my phone is already UV... -5, if i decrease further wouldn't it be too low to cause instability?
And about IO Scheduler, i don't quite fully understand it.. which one drain least battery?
i am using 100-800 smartass2 sio and -7V without any problems.
Hi,
I'm using Co-Core 8.2 and I want to test One Power Guard to improve my battery life.
But I don't have any idea about which CPU governor and I/O scheduler to choose.
Could someone tell me which combination provides the best balance between power-save and performance?
I'm on Jelly Bean 4.1.2
NB. Cocafe recommends PegasusQ as CPU governor and either SIO/ROW for I/O scheduler but I would like to get some feedback from people already using One Power Guard.
Thanks in advance
luisblop said:
Hi,
I'm using Co-Core 8.2 and I want to test One Power Guard to improve my battery life.
But I don't have any idea about which CPU governor and I/O scheduler to choose.
Could someone tell me which combination provides the best balance between power-save and performance?
I'm on Jelly Bean 4.1.2
NB. Cocafe recommends PegasusQ as CPU governor and either SIO/ROW for I/O scheduler but I would like to get some feedback from people already using One Power Guard.
Thanks in advance
Click to expand...
Click to collapse
Pegasus and sioplus
OR
Hotplug and sioplus
DaRkRhiNe said:
Pegasus and sioplus
OR
Hotplug and sioplus
Click to expand...
Click to collapse
Thanks for the answer. I will give a try with Pegasus
However I noticed that sioplus is not available on One Power Guard settings. Only row and sio.
Is sioplus available in Co-core 8.2?
These apps like this just drains your battery. If you want play with CPU, download a CPU controller app. (like SetCPU) and install CoCore 9.0 which is newest version.
When you don't use phone ; 600 MHz Max & HotPlug
When you don't use phone V2 ; 600 MHz Max & Ondemand & deeper sleep status
When you lock phone, don't decrease speed (too much) because it will use whole CPU if it needs ; 800 MHz Max & Ondemand Q/Lulzactive Q/Pegasus Q
When using ; 1000 MHz Max & Ondemand/Interactive/Lulzactive Q/Pegasus Q
When you get mad and crazy about performance, lock the min to max; 1000 MHz min and max & Ondemand & SmartAss (still exists or not I don't know)
If you increase minimum speed it will keep it. So I suggest always keep min to 200MHz. (if exists 0 MHz I don't remember it too)
Edit: and don't go deeper sleep if you use hot plugger governors like Hotplug, Pegasus, Lulzactive Q
FYI
http://forum.xda-developers.com/showthread.php?t=2312491
Powered by CM11
Thanks guys,
I will compare the battery draining with One Power Guard just to give it a try.
If I don't notice any improvement then I will tweak with SetCPU
King ov Hell said:
Edit: and don't go deeper sleep if you use hot plugger governors like Hotplug, Pegasus, Lulzactive Q
Click to expand...
Click to collapse
Hi again,
What exactly do you mean wit "deeper sleep"?
Is that an option or when the display is off after several minutes?
Sorry for my ignorance
luisblop said:
Hi again,
What exactly do you mean wit "deeper sleep"?
Is that an option or when the display is off after several minutes?
Sorry for my ignorance
Click to expand...
Click to collapse
Go to the CoCore's thread you'll see. It's deep sleep level which can increase your battery life when you don't use the device. It's not about using, it's about when it's stand-by.
Ok
After one day even if One Power Guard is a nice app I prefer to switch governor depending on the display status. So I was thinking about using tasker (instead setCPU) which is already running on my phone and this way not adding more background processes.
I set a couple of task using the CPU control from tasker. It is working fine switching governors but I noticed that the frequencies (min and max) don't change. I tried even with shell script and still I don't get to set the max frequency. Then I prefer to make you a couple of questiosn:
-In tasker when using the CPU control. If I change governor. Should it be set in both CPUs (0 and 1) or only in a single one? In my case i set the governor in both.
-I use the terminal to check the current governor and max frequency (for instance for the cpu0)
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governorcat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
As said above the governor is succesfully changed but that's not the case for the frequency. Then I tried to run a shell script to change the max frequency as follows:
echo #frequency > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
But it seems not working neither. So I wonder if I'm doing something wrong.
NB. By the way I'm happy using the governor hotplug while not using my phone (thanks for the advice). In normal use I set pegasusq with sio and seems working great.
Hello guys.
I'm currently on superior os running Android 9 pie
I need the battery to last as long as possible... SOME performance sacrifices can be made.
I'm currently using the Lionfish governor to increase battery life
Here's a list of governors I have available on this tomorrow ... (Not to keen on flashing a custom kernel, but I will hear you out non the less):
Lionfish
ElementalX
Impulse
Alucard
Interactive
Despair
conservative
On demand
Userspace
Powersave
bioshock
Lionheart
Performance
I use kernel aduitor to change tweek the kernel
Any and all kinds of tricks and tips, even if it's not governor or kernel related are also are appreciated!
Download L speed and use the battery profiles
how much screen on time you are getting?
Hi all, I have just bought this Franco Kernel APK and I really do not know at all how to use it. I messed around with it for a moment and then ended up making my phone device really laggy. Fortunately I backed up the original kernel and restored it now it is ok already. My device is a Realme C15 Qualcomm Edition RMX2195 and my kernel is 4.19.152-perf+. I am using Android 11. I would really appreciate all the help that I can get in setting this Franco Kernel APK up. No it's just sitting there collecting dust I paid for it but I don't know how to use it.
It's been 5 days, does no one want to help a Noobie?
Franco Kernel manager works same as any other kernel manager like overclock underclock (CPU/GPU), change CPU/GPU governors ,run shell script and per-app profiles for more app based CPU,GPU control
*Works on rooted devices only*
For battery saving : you can reduce your clock speed of both CPU &GPU by 20~50% anything lower than that more lag
CPU & GPU governor to powersave
For performance : keep both CPU&GPU at Max
Use on-demand or performance governor
For more details on governor check link below
Governors/Hotplug
cpu governors, gpu governors, hotplugging, hotplug governors, cpu governor comparison, cpu governor graphs
androidmodguide.blogspot.com
work different based on your choice like how you like to use your device
I have set to battery saving and use per-app profiles on which I need more performance (games)
Thank you
Thanks I've tinkered around with it a bit and got a lot of batt savings...
When I charge my Pixel 6 on Pixel stand doesn't show wattage info. Only if I plug in the device on wall charger. Any ideas?