Hello, i have the ROM ARHD Google Edition 4.4.2 with tbalden kernel (stable edition)
So I wanna ask before doing wrong things. I have installed CPU Master and I want to know what scaling must I use, now I have ondemand with deadline as I/O Scheduler.
Did I made it good? I have no profiles selected and won't. I wanna make my battery lives longer because I prefer battery instead performance. Not radical, but for me battery > performance.
Then, final question, I don't know what are for this things at I/O schedule: sampling rate, up threshold, ignore nice load and powersave bias. I have set deadline and:
Sampling rate: 50000
Up threshold: 90
Ignore nice load: 0
Powersave bias: 0
What should I do?
First of all, how long have you been using Android 4.4? This version has huge battery improvements over any previous version. It's possible that no tweaking is necessary. Secondly, do you regularly disable gps and disable/enable Wi-Fi? The rule is that Wi-Fi saves battery during non-trivial data transfers (because 3g/4g hog power), but will cost battery if you leave it on all the time (because Location Services will likely be polling b frequently). How about turning Bluetooth on only when needed?
Lastly, have you determined which apps are battery hogs and uninstalled or greenified them?
How about putting screen brightness just a little bit lower than you might like? And closing background apps if you aren't gonna use them soon? (By sweeping them out of the multitasking screen.)
These tweaks will yield much more battery improvements than scheduler changes.
kur1oso said:
Hello, i have the ROM ARHD Google Edition 4.4.2 with tbalden kernel (stable edition)
So I wanna ask before doing wrong things. I have installed CPU Master and I want to know what scaling must I use, now I have ondemand with deadline as I/O Scheduler.
Did I made it good? I have no profiles selected and won't. I wanna make my battery lives longer because I prefer battery instead performance. Not radical, but for me battery > performance.
Then, final question, I don't know what are for this things at I/O schedule: sampling rate, up threshold, ignore nice load and powersave bias. I have set deadline and:
Sampling rate: 50000
Up threshold: 90
Ignore nice load: 0
Powersave bias: 0
What should I do?
Click to expand...
Click to collapse
fenstre said:
First of all, how long have you been using Android 4.4? This version has huge battery improvements over any previous version. It's possible that no tweaking is necessary. Secondly, do you regularly disable gps and disable/enable Wi-Fi? The rule is that Wi-Fi saves battery during non-trivial data transfers (because 3g/4g hog power), but will cost battery if you leave it on all the time (because Location Services will likely be polling b frequently). How about turning Bluetooth on only when needed?
Lastly, have you determined which apps are battery hogs and uninstalled or greenified them?
How about putting screen brightness just a little bit lower than you might like? And closing background apps if you aren't gonna use them soon? (By sweeping them out of the multitasking screen.)
These tweaks will yield much more battery improvements than scheduler changes.
Click to expand...
Click to collapse
Just to add you can also use Tasker to create Power friendly profile i.e:
when screen is off,
launch that profile:
turn wifi off, turn mobile data off unless X app is running (i.e maps), turn cpu 1,2,3 off but keep cpu 0 running at X MHz and X voltage, set cpu governor to powersave. Create a loop to turn on wifi or mobile data once every X minutes and launch Synker to sync your phone (e-mail, facebook etc etc...) then turn back wifi/data off. Turn gps location off unless X app is running (ie maps). Turn off bluetooth unless X device is connected or X app is running. Use only X network type when screen is off
Click to expand...
Click to collapse
when screen is turned back on
lauch that profile:
resotre cpu setting (governor ondemand, X voltage) Turn back on wifi/data, stop the ''sync loop'' etc etc...
Click to expand...
Click to collapse
that kind of thing will make you save a lot of battery before having to play with schedulers imo.
alray said:
Just to add you can also use Tasker to create Power friendly profile i.e:
when screen is off,
launch that profile:
when screen is turned back on
lauch that profile:
that kind of thing will make you save a lot of battery before having to play with schedulers imo.
Click to expand...
Click to collapse
Yes to all: i never have gps ON until i need to use it (that 1 day per week) i never ever use bluetooth so always off, data always on 2g, sometimes 3g but never lte. Wifi only ON when i'm home. Of couhaveI have instGreenifyeeniloveIalwatsascreensbrightnesshisealwaysasetytosetbut 0 but when in street I set 100%.
But i dont know how to set that profiles you told me, setting cpu 1,2,3 to off when screen off, etc.. how to?
Dont you recommend cpu master?
Also, I wanna show you a picture of how I spend my battery life, it's from today:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Today my data has been always set to 2g except, perhaps, 15minutes to 3g only.
Related
I've enabled the converse CPU option in the power saver menu and I'd like to know what that does exactly. Does it just lower the CPU's clock speed? What are the best apps to monitor CPU usage?
Sent from my HTC One using Tapatalk 2
Lowers your cpu freq tot 1.1ghz, that's all
It lowers your CPU speed to a maximum of 1.1GHz but it does not lower the GPU speeds. For games that aren't that CPU intensive, you can still play totally smooth with Power Saver on
ArmedandDangerous said:
It lowers your CPU speed to a maximum of 1.1GHz but it does not lower the GPU speeds. For games that aren't that CPU intensive, you can still play totally smooth with Power Saver on
Click to expand...
Click to collapse
It does a few other things as well depending on the options that are enabled in settings power
See photo
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my HTC One using xda app-developers app
paul_59 said:
It does a few other things as well depending on the options that are enabled in settings power
See photo
View attachment 2007972
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
Thanx for the pix. Now I know why my phone doesn't vibe when pressing home.
xile6 said:
Thanx for the pix. Now I know why my phone doesn't vibe when pressing home.
Click to expand...
Click to collapse
Click on Power Saver to customize what gets turned on/off.
ArmedandDangerous said:
Click on Power Saver to customize what gets turned on/off.
Click to expand...
Click to collapse
Yea I got that.
It's just I got the phone a few days ago and still getting use to all the settings.
I move from an s2
Does anyone know a working CPU frequency set/limit program?
I want to limit the CPU to 600MHz or even 400MHz during driving because I want to use it as a blackbox and record everything. If I can limit the CPU, it won't heat up as bad.
I tried setCPU, antutu cpu master, no-frills cpu control, and everything doesn't seem to stick. I currently have it in energy saving mode, so it's 1100MHz.
The HTC One has an issue with frequencies sticking, it's because of the permlock. You could either flash a custom kernel or you could use setcpu and use the disable permlock feature, which I haven't tested, but it claims to allow frequencies to stick.
You'll need root for all this ofcourse
Sent from my HTC One using xda app-developers app
hp79 said:
Does anyone know a working CPU frequency set/limit program?
I want to limit the CPU to 600MHz or even 400MHz during driving because I want to use it as a blackbox and record everything. If I can limit the CPU, it won't heat up as bad.
I tried setCPU, antutu cpu master, no-frills cpu control, and everything doesn't seem to stick. I currently have it in energy saving mode, so it's 1100MHz.
Click to expand...
Click to collapse
take it off powersaving mode and you should be able to adjust it
IINexusII said:
take it off powersaving mode and you should be able to adjust it
Click to expand...
Click to collapse
Tried that, didn't help. As soon as I close the app or switch to another app, it goes back to 1.4 GHz/1.6GHz.
This application was tested on JB (Android 4.1.2) and requires "root" permissions.
None of the settings are permanent. Default values will be restored when you restart your phone.
Download link: http://www.tazetaze.com/?dl_id=8 (53 KB)
LG Optimus 4X decreases CPU frequency after battery temperature reaches 43 °C to cool the device.
If you play a game for a long time, battery temperature reaches 43 °C rapidly and the game starts to lag because of frequency decrease.
This application sets the Tegra3 "temp_throttle_skin", CPU governor and GPU frequency values according to your preferences when you switch "Boost" on.
So you can play games with higher frequencies and more CPU cores without being effected by the heat increase.
Boost Preferences
Temperature threshold (temp_throttle_skin) value can be set to 46, 48 or 50 °C.
CPU governor value can be set to interactive (default), ondemand or performance.
GPU frequency (3D and 2D) value can be set to 200 MHz (default value), 330 MHz, 380 MHz or 416 MHz.
Your device may feel hotter than before after you set "Boost" on and play a game for a long time.
Other Functions
It's possible to see the CPU usage and frequency by setting the "Show CPU Usage" switch on. This has the same effect as enabling "Show CPU Usage" setting from the hidden menu.
If you enable "Unlimited Temp. Charging", you can continue to fast charge even if slow charge is activated because of high temperature.
New function: If you set "Keep Brightness" switch to "On", LCD brightness will be kept at the level you specify at the "LCD Brightness" preference. Temperature rise will not lower the brightness.
"Keep Brightness" function does not work properly for high temperature conditions.
Although brightness seems to stay at the level you specify in the notification tray, it is actually decreased when temperature rises.
This side effect occurs only when you play games for a long time with high temperature levels.
Please follow the new versions of "Tegra Overclock" application for a proper way of avoiding LCD brightness cutter.
Click to expand...
Click to collapse
WARNING
Use at your own risk.
Turn "Boost" off after you play your game.
Battery will drain faster when CPU governor is set to "performance".
Overheating may damage your phone hardware.
The code to change CPU governor was taken from the "No-frills CPU" project. Thanks to Luca Santarelli for making his project open source.
Shell commands to change GPU frequencies was taken from the "Tegra Overclock" application.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Release Notes
v1.5.1
If the kernel supports GPU frequency higher than 416 MHz, this maximum frequency can be selected in the GPU Frequency preference.
v1.5.0
"Keep Brightness" switch was added. Now you can keep brightness at the level you want regardless of phone temperature.
Note: This function requires that "Brightness Service" keeps running. If you kill the service with a task killer application, brightness will not be kept.
v1.4.0
"ondemand" CPU governor option was added to preferences.
Current CPU temperature is displayed under "Temperatures" section.
Minor user interface changes.
v1.3.0
"Unlimited Temp. Charging" functionality was added.
v1.2.3
Minor bug fixes
416 MHz was added to GPU frequencies list
v1.2.1
"echo 'Y' > /sys/module/tegra3_clocks/parameters/detach_shared_bus" command was added to program startup to prevent crashes that happened when GPU frequency was set.
v1.2.0
GPU frequencies for Boost can be set from "Boost Preferences" section.
v1.1.0
Temperature threshold and CPU governor values for Boost can be set from "Boost Preferences" section.
v1.0.0
First release
FC on kholk's CM10.1, ups!
I think this is for stock kernel only.
just a small tip from me, use more than 48°C for skin temp. i'd suggest at least 50.
'cause the throttle will kick in even before the temp_throttle_skin value is reached.
also performance gov is not the very best choice IMO. it produces too much heat, 'cause it would be enough to run @ 800MHz (or another freq, just as an example)
But nice work anyways
laufersteppenwolf said:
just a small tip from me, use more than 48°C for skin temp. i'd suggest at least 50.
'cause the throttle will kick in even before the temp_throttle_skin value is reached.
also performance gov is not the very best choice IMO. it produces too much heat, 'cause it would be enough to run @ 800MHz (or another freq, just as an example)
But nice work anyways
Click to expand...
Click to collapse
Thanks for your precious comments.
So you recommend to set 50 °C for temp_throttle_skin, no change for CPU governor and 800 MHz for maximum CPU frequency.
Is that right?
postacik said:
Thanks for your precious comments.
So you recommend to set 50 °C for temp_throttle_skin, no change for CPU governor and 800 MHz for maximum CPU frequency.
Is that right?
Click to expand...
Click to collapse
He was more suggesting another governor - interactive is fine, in my opinion.
someth1ng said:
He was more suggesting another governor - interactive is fine, in my opinion.
Click to expand...
Click to collapse
Interactive is the default CPU governor and is fine on JB but it really helped to boost games on ICS.
Maybe I can make CPU governor change optional.
New version (v1.1.0) was released.
CPU governor and threshold temperature settings can be adjusted under the "Boost Preferences" section.
Thanks for your precious comments.
So you recommend to set 50 °C for temp_throttle_skin, no change for CPU governor and 800 MHz for maximum CPU frequency.
Is that right?
Click to expand...
Click to collapse
partly yes
- I'd use at least 50°C for temp_throttle_skin.
- CPU gov, maybe ondemand, it "likes" higher frequencies --> good for gaming
- and no, please do not cap the freq it was an example of what is bad at performance governor. (800MHz actually needed, but it is forced to keep @1.7/1.5GHz)
but you could increase the min freq during gaming to 500MHz or something. that way the quad core stays online and doesn't change to LP mode. this can slightly improve the performance a bit
Can you suggest if i should add gpu frequency change option for boosting as in the Tegra Overclock application?
I would be glad if you have an optimum gpu frequency to play notoriously lagging games without any problems.
Some of my friends suggest setting gpu frequency to 416 mhz to play need for speed and real racing. Is that the right frequency?
Sent from my LG-P880
Nice idea..
Great idea for our 4X! :good:
will test it soon..
But, i think this should be moved to themes and apps..
New version (v1.2.0) was released.
Now you can set GPU frequencies to use for Boost mode.
Can a moderator move this thread to "themes and apps" section if that's the right place for an application?
postacik said:
Can you suggest if i should add gpu frequency change option for boosting as in the Tegra Overclock application?
I would be glad if you have an optimum gpu frequency to play notoriously lagging games without any problems.
Some of my friends suggest setting gpu frequency to 416 mhz to play need for speed and real racing. Is that the right frequency?
Sent from my LG-P880
Click to expand...
Click to collapse
well, the N7 uses 416 by default. this should be a pretty good value, regarding performance AND battery.
if you want more battery life, i'd suggest 330 MHz.
for really, really hardcore gaming 520 (564/600) MHz. but this will cause heat, too...
postacik said:
Can a moderator move this thread to "themes and apps" section if that's the right place for an application?
Click to expand...
Click to collapse
i'm on it
New version (v1.2.1) was released.
A missing setting caused the phone to freeze in version 1.2.0.
This problem was solved in v1.2.1.
Please uninstall v1.2.0 and install v1.2.1 to avoid crashes.
force close on rooted ICS when opening.
Emmanuel2000 said:
force close on rooted ICS when opening.
Click to expand...
Click to collapse
Which version? Since I have stock JB installed I don't have a chance to test it on ICS.
postacik said:
Which version? Since I have stock JB installed I don't have a chance to test it on ICS.
Click to expand...
Click to collapse
United Emirates
ICS 4.0.3 V10E Open AME
rooted with stock rom.
Emmanuel2000 said:
United Emirates
ICS 4.0.3 V10E Open AME
rooted with stock rom.
Click to expand...
Click to collapse
Can you try again with the attached apk?
where can i get latest version??
---------- Post added at 06:39 PM ---------- Previous post was at 06:25 PM ----------
postacik said:
Please do not use version 1.2.0. It makes the phone freeze when Boost switch is clicked. Install v1.2.1 instead.
Release Notes
v1.2.1
"echo 'Y' > /sys/module/tegra3_clocks/parameters/detach_shared_bus" command was added to program startup to prevent crashes that happened when GPU frequency was set.
v1.2.0
GPU frequencies for Boost can be set from "Boost Preferences" section.
v1.1.0
Temperature threshold and CPU governor values for Boost can be set from "Boost Preferences" section.
v1.0.0
First release
Click to expand...
Click to collapse
Where can i get latest downloads??
the link given is downloading old ver......
Hey guys and gals,
I've been searching AHD forums for a while now and I could find zip zero result on custom kernels even though I'm sure that I've read people write about Aaargh kernel before... [his user name's spelling ain't really helping either....]
So here I ask: where can I find it (or other custom kernels?), read what people have to say about it and what results are to be expected?
Lastly, what are you guys settings? I mean what voltages are you guys using? I understand that no phone/cpu reacts the same to undervolting, but I'd like to get an idea on how low I could expect to go...
I'm not really after overclocking as I find my AHD's performances acceptable at stock values; I'm just after better battery performance really.
Thanks in advance for your replies; I will be offline for the next few days, but will sure give thanks hits upon my return.
Cheers
/AL
[] AL [] said:
Hey guys and gals,
I've been searching AHD forums for a while now and I could find zip zero result on custom kernels even though I'm sure that I've read people write about Aaargh kernel before... [his user name's spelling ain't really helping either....]
So here I ask: where can I find it (or other custom kernels?), read what people have to say about it and what results are to be expected?
Lastly, what are you guys settings? I mean what voltages are you guys using? I understand that no phone/cpu reacts the same to undervolting, but I'd like to get an idea on how low I could expect to go...
I'm not really after overclocking as I find my AHD's performances acceptable at stock values; I'm just after better battery performance really.
Thanks in advance for your replies; I will be offline for the next few days, but will sure give thanks hits upon my return.
Cheers
/AL
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1893050
Ok thanks for the link.
I wasn't searching at the right place and on the wrong device forum...
So in an attempt to make this thread useful, I'd ask again: anybody wants to share their experience with that kernel on AHD?
I mean other than getting a phone that can basically now running up to 2GHz and down to 96 MHz, what did you get from it?
- How (and how much) undervolting did you do?;
- Any noticeable and verifiable battery saving doing so?;
- Any before/after benchmark results to share?
- any observations, bugs or just general opinion on the subject?
Personally, I've noticed once or twice that the phone had a hard time waking up when I used 144MHz (forgot the exact value) as min cpu frequency (no undervolting). The screen would not turn on with either volume rocker or power button...it only did after a lot of insisting... And that was just within a couple hours of testing.
I've since reverted to CM11 kernel since I was eager to find out if a semi-dirty (no stock rom reflashing first) nand backup restore would switch the kernel back. And it did, but then I've also re-installed CM11-M8 for other reason/issues... (that too brought back CM kernel - at least that's what the "about phone" is giving).
Anyhow, the debate is open on the usefulness of that custom kernel. If no one dare to pitch in here, I'll just ask a moderator to delete the thread...
But I'm still eager to find out about how to undervolt as I always did on my Defy.
Cheers
/A
I'm also curious about any battery-saving benefits that can be gained with Kernel adjustments; especially when screen is on (since I drive a lot with the screen on all the time). I have no interest in Overclocking, and would rather have the phone last as long as possible and still be useable.
Currently using arrrghhh's kernel (May 23 version) with:
1. Min 384000 (default)
2. Max 1458000
3. Scheduler: deadline
4. Governor: smartassV2
5. App: Trickster MOD
Also, the only way I've been successful in changing anything is by using the Trickster MOD app. Between CarbonROM and the CM11 (epinter) that I'm using now, I've never been able to get the kernel changes to stick. Didn't matter whether I used the default kernel or arrrghhh's, any modifications in my settings always reverted back at some later time.
Trickster MOD uses some workarounds to get it to stay, and I haven't had any issues since.
quasihellfish said:
I'm also curious about any battery-saving benefits that can be gained with Kernel adjustments; especially when screen is on (since I drive a lot with the screen on all the time). I have no interest in Overclocking, and would rather have the phone last as long as possible and still be useable.
Currently using arrrghhh's kernel (May 23 version) with:
1. Min 384000 (default)
2. Max 1458000
3. Scheduler: deadline
4. Governor: smartassV2
5. App: Trickster MOD
Also, the only way I've been successful in changing anything is by using the Trickster MOD app. Between CarbonROM and the CM11 (epinter) that I'm using now, I've never been able to get the kernel changes to stick. Didn't matter whether I used the default kernel or arrrghhh's, any modifications in my settings always reverted back at some later time.
Trickster MOD uses some workarounds to get it to stay, and I haven't had any issues since.
Click to expand...
Click to collapse
do you mean may 25?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
sliker90 said:
do you mean may 25?
Click to expand...
Click to collapse
No. "CLICK TO SHOW CONTENT", then download the latest version (May 23) that doesn't use SaberMod. Only reason I was using that was because arrrghhh mentioned that SaberMod thing was experimental and may have issues. So I just chose the safe option.
ok thank you
sliker90 said:
ok thank you
Click to expand...
Click to collapse
Since you're a new xda member, I'll remind you that there is a button specially made to thank people... Look at the bottom left of the post useful to you...
As far as the undervolting goes, I found that the free app called "Trickster Mod" can do voltage changes. So I've done a bit more testing with the May 23rd anykernel and my results weren't that great....
First, I went too aggressively and try to lower the voltage by 150mV for every cpu frequency and that made the phone reboot as soon I applied it. I mention this because the lesson here is to
*** NEVER SET THE "apply settings on boot" OPTION UNTIL YOU ARE ABSOLUTELY SURE THAT YOUR NUMBERS WORK FINE. ***
Not doing so might make your phone unbootable and you might not even be able to boot to recovery/bootloader mode to revert kernel/settings....
Ok, that being said and since I'm after battery saving while the phone is in use*, I then went ahead and lowered by a more reasonable 50mV for each frequency (the app let's us move by 25mV steps). That 'worked' fine and I've experienced no sudden reboot. BUT, after some time (30 minutes), I've noticed some slowdowns and I've also had issues with an app that stopped creating video thumbnails. So all in all, that called for the end of my testing and I restore my CM11-M8 nandroid as I'm not going to live with such drawbacks for some slight (still yet to be proven) battery improvements.
So no custom kernel for me afterall.
.... Should this thread be deleted???
You guys tell me.
Cheers
/AL
- - -
*: hence I see no point of lowering the minimum cpu frequency: my phone does not take excessive power when on iddle, it deepsleeps fine and I use airplane mode at night..
*': some have argued that increasing the max cpu frequency allows the phone to complete tasks faster and return to a low power state sooner resulting in a lower overall battery use. I have my doubts on this and I'm pretty sure that it depends on what kind of task the phone is mainly doing. Anyhow, this is not something worth testing at this time... My AHD does its job just fine at the stock max cpu f.
Note: I'm not referring to the CM Profiles such as Home, Work, etc.
I haven't purchased Tasker, nor have I used the program before. Is it possible to get Tasker to change CM11S kernel profile to Performance when screen comes on, and Power-saving profile during night hours? I am preferring Performance instead of Balanced at the moment because it makes quite a difference in responsiveness and smoothing out scrolling, but it's probably eating away at battery during non-use.
Or am I just better off waiting for a non-mpdecision custom kernel to be more stable and just use that instead? Franco for e.g.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
U can modify the highest and lowest CPU frequency with tasker which is sort of what you're looking for
Yes, you can modify the performance profile using Tasker but I you need to be rooted to change it. This is how I am using Tasker to change my CPU profile when my screen is on and off. Obviously you can change CPU settings on your own accord.
Screen off (powersave mode):
(leave CPU at 0)
CPU governor to powersave
max frequency to 1036800
(everything else leave alone)
Screen on (balanced mode):
(leave CPU at 0)
CPU governor to interactive
max frequency to 2457600
(everything else leave alone)
You don't have to limit the CPU frequency, but I figured it would be the best way to maximize the benefits of powersave mode, not to mention restricting any apps to crank up the CPU while phone is sleeping.
I would not recommend using powersave mode normally. The phone will become very unresponsive. However, I am setting my phone to screen off setting if battery is between 0-15%. That may change to 10% if if ever becomes troublesome.
Here are all the different governor settings: http://tasker.dinglisch.net/userguide/en/cpu.html
So I just updated my OPO to 30O and now Tasker says the CPU option is not available one my device.
Anyone know what is going on? Is there another option to use?
[UPDATE] Oops, I lost root.
Bump! I want this too...
I've used this but i noticed battery drain.
128
hmm i consider if it's needed to use Tasker on Lollipop
butro said:
Yes, you can modify the performance profile using Tasker but I you need to be rooted to change it. This is how I am using Tasker to change my CPU profile when my screen is on and off. Obviously you can change CPU settings on your own accord.
Screen off (powersave mode):
(leave CPU at 0)
CPU governor to powersave
max frequency to 1036800
(everything else leave alone)
Screen on (balanced mode):
(leave CPU at 0)
CPU governor to interactive
max frequency to 2457600
(everything else leave alone)
You don't have to limit the CPU frequency, but I figured it would be the best way to maximize the benefits of powersave mode, not to mention restricting any apps to crank up the CPU while phone is sleeping.
I would not recommend using powersave mode normally. The phone will become very unresponsive. However, I am setting my phone to screen off setting if battery is between 0-15%. That may change to 10% if if ever becomes troublesome.
Here are all the different governor settings: http://tasker.dinglisch.net/userguide/en/cpu.html
Click to expand...
Click to collapse
What about having one profile to set the CPU to Balanced mode when the screen is on, and having an exit task to set it to powersave?
I think I'll try that, but maybe with a delay of a minute or two before running the exit task.
Frankyg said:
What about having one profile to set the CPU to Balanced mode when the screen is on, and having an exit task to set it to powersave?
I think I'll try that, but maybe with a delay of a minute or two before running the exit task.
Click to expand...
Click to collapse
That's how I have it set up but my profile is screen off. powersave when off, exit task (screen on) is back to balanced. I do like your wait a minute after screen off idea. I just implemented that. Thanks!
Thanks, this is what I was looking for. But why only CPU 0, do we not have to repeat the same for CPU 1,2,3. I guess CPU number refers to respective cores.
And how much is tasker effecting the battery discharge being in background.
I had up and downs using Tasker to set CPU Governor, so ended up using Boeffla kernel which supports this kind of management natively as described in the FAQ page: http://www.boeffla-kernel.de/index.php/faq.
Boeffla kernel has both CM 11s and CM 12 versions, so you are covered whichever ROM you are running.
it is possible, but not with tasker!
i will write an app therefore
it's just a hour task or so, will upload it to the playstore later this week.
i don't know exactly but i think you need to be rooted, but maybe i'm wrong, will look into it later
butro said:
Yes, you can modify the performance profile using Tasker but I you need to be rooted to change it. This is how I am using Tasker to change my CPU profile when my screen is on and off. Obviously you can change CPU settings on your own accord.
Screen off (powersave mode):
(leave CPU at 0)
CPU governor to powersave
max frequency to 1036800
(everything else leave alone)
Screen on (balanced mode):
(leave CPU at 0)
CPU governor to interactive
max frequency to 2457600
(everything else leave alone)
You don't have to limit the CPU frequency, but I figured it would be the best way to maximize the benefits of powersave mode, not to mention restricting any apps to crank up the CPU while phone is sleeping.
I would not recommend using powersave mode normally. The phone will become very unresponsive. However, I am setting my phone to screen off setting if battery is between 0-15%. That may change to 10% if if ever becomes troublesome.
Here are all the different governor settings: http://tasker.dinglisch.net/userguide/en/cpu.html
Click to expand...
Click to collapse
i have set cpu , i have set governor to ondemand but don't know what to do with scheduler. Also is there screen off and on setting in it ?
AAA118 said:
i have set cpu , i have set governor to ondemand but don't know what to do with scheduler. Also is there screen off and on setting in it ?
Click to expand...
Click to collapse
Not sure what you mean about the scheduler. But the screen off and on is controlled by a new profile. Add a profile and select event, then display off. When display off is active, you select your powersave task. The exit action of display off profile, or screen on, should be activating the ondemand task, returning the device to full speed.
I did it like this to have one profile to control that one action. More efficient than two profiles, one for screen on and off.
k.harish.r said:
Thanks, this is what I was looking for. But why only CPU 0, do we not have to repeat the same for CPU 1,2,3. I guess CPU number refers to respective cores.
And how much is tasker effecting the battery discharge being in background.
Click to expand...
Click to collapse
I'd like to know that, too.
Time delay for task... how?
Frankyg said:
What about having one profile to set the CPU to Balanced mode when the screen is on, and having an exit task to set it to powersave?
I think I'll try that, but maybe with a delay of a minute or two before running the exit task.
Click to expand...
Click to collapse
Hi there! How do you set the 1 minute delay to start task?? Thanks
For example, i have it set to display off, governor battery saving and 1036800 max freq and min 300000 freq, but i want it to start the task about 1 min later, becouse sometimes rigth away we go tether again, for some reason...
Anyone knows more about this nowadays?
aussieglis said:
Anyone knows more about this nowadays?
Click to expand...
Click to collapse
user boeffla kernel + tasker. just follow the guide from boeffla site.
As all we know, our phone has one of the newest & most powerful CPU in the market : Kirin 970
together with a huge 4000mAh battery, this phone theoritically should deliver an extremely good battery life. And from what i experienced, this phone perform quite admirably.
That being said, when being compared to other flagships in the market (as can be seen here : https://www.youtube.com/watch?v=lXp-4QyJpmo), Mate 10 still fall short to the like of Oneplus 5 which actually has a smaller battery,
biggest factor that might affect that result , aside from the screen resolution difference, is of course, software & kernel optimisation,
in an attempt to get a better battery life out of this device, but without impacting performance, i remember one of the guide made by @soniCron i used to stumbled upon few years ago. This Guide give a very detail insight on how to optimize the interactive governor on almost any device/any kernel/any rom (as long as you have root), and thats what i gonna try to apply to our device - if you want to check the guide yourself : HERE
so i take a look into Huawei Mate 10 Kernel Sources to see the voltage values being used by this processor for each frequency step. And here's the table :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
from that table, we can see which frequencies are using most power, and where is the most jump in voltage usage happen when switching between frequency.
Higher voltage jump will cost more power, means less battery life.
in conclusion, i found few frequencies which are unfavorable, which is
A53 CPU :
1210Mhz - because it use same power (850000µV) as 1402Mhz, so we better use 1402Mhz instead for better performance with same power cost
1556Mhz - same story, it use same power (950000µV) as 1690Mhz
and
1844Mhz - it use most power, but since this is the top freq, we can neglect it
A72CPU :
1018&1210Mhz - use same power (780000µV) as 1364Mhz, so we better off jump directly to 1364Mhz
1498Mhz - same case, it use same amount of juice (900000µV) as 1863Mhz
and
2362Mhz - it use most power, but since this is the top freq, we can neglect it
_____________________________________________________________________________________________________________________________________________________
Now we take into account of the minimum frequency needed to ensure smooth task (if you dont know what am talking about, read the GUIDE i mention in my opening paragraph) :fingers-crossed:
For Mate 10, i've found the best frequency is as following :
Idle = 509MHz
Scrolling = 1018MHz (Use Chrome browser to scroll Facebook in desktop mode)
Video = 1402MHz (Play 1080p*60fps videos in Youtube app)
App load = 1690MHz (Use any app really)
High load = 1844MHz (Max out just in case)
Using the formula take from soniCron guide, i tried calculate optimum CPU load (this will be used as target load config) config for each frequencies
If you want to see the formulas :
Code:
We want to determine 2 values for every available clock rate: the maximal efficient load and the minimal efficient load. To make this determination, we need to bust out our calculators. (Or spreadsheets!)
For the maximal efficient load, we want to correlate a load value no higher than 90% of a given clock rate before it would be more efficient to jump to the next clock rate–to avoid overwhelming a particular rate while avoiding premature jumps to the next. For this value, we calculate it as:
(clock rate * 0.9) / next highest clock rate
For example, the maximal efficient load for 600Mhz on the Nexus 5X would be caluclated as:
(600000 * 0.9) / 672000 = 80.36% (rounded and normalized: 80)
For the minimal efficient load, we want to correlate a load value at which anything higher would be better served by a higher clock rate. To calculate this:
(1 - next highest clock rate / clock rate) * -1
For example, the minimal efficient load for 600Mhz on the Nexus 5X would be calculated as:
(1 - 672000 / 600000) * -1 = 12.00% (rounded and normalized: 12)
with this config, logically speaking we want to make the Governor to favour the "best" frequencies above, and minimize the usage of unfavourable freqs.
A53
Code:
509Mhz : 45
1018Mhz : 76
1210Mhz : 15
1402Mhz : 81
1556Mhz : 8
1690Mhz : 82
1844Mhz : 90
A72
Code:
682Mhz : 60
1018Mhz : 19
1210Mhz : 13
1364Mhz : 81
1498Mhz : 24
1652Mhz :12
1863Mhz : 80
2093Mhz : 12
2362Mhz : 90
Now that we already get the optimum number, time to apply it
Use your favorite Kernel Manager, in my case, am using Kernel Adiutor, and go to CPU Config - CPU Governor Tunables and input these value (am using Hawktail profile from soniCron thread, as it seems it work best for most of devices, and i already do trial & error with some other value like timer rate as well ) :
A53 (LITTLE)
Code:
go_hispeed_load: 99
above_hispeed_delay: 20000 509000:60000 1018000:25000
timer_rate: 28000
hispeed_freq: 509000
timer_slack: 80000
target_loads: 98 509000:45 1018000:76 1210000:15 1402000:81 1556000:9 1690000:82 1884000:90
min_sample_time: 30000
boost: 0
boostpulse_duration: 80000
A72 (BIG)
Code:
go_hispeed_load: 99
above_hispeed_delay: 20000
timer_rate: 20000
hispeed_freq: 1863000
timer_slack: 80000
target_loads: 98 682000:60 1018000:18 1210000:12 1364000:81 1498000:24 1652000:12 1863000:80 2093000:12
min_sample_time: 20000
boost: 0
boostpulse_duration: 80000
Now you can test it. Do full charge and use it normally, see whether you can see the improvement or not,
Hopefully it helps you as it seems to help me (you can expect no less than 7Hrs to 10 Hrs SoT, am quite heavy user myself, with 2 WhatsApp account and 1 LINE account constantly active. YouTube & Gaming at least hour/day as well). Discussion is more than welcome here, as these are considered an initial calculations that still yet to furtherly fine tuned for our CPU.
I'm not comfortable doing this on my phone yet, but I'm looking forward to hearing from people who are!
Results so far :
Used it and didnt notice any issues. Performance was perfect.
However, I just updated so I lost root.
Does anyone know if I can just root again without wiping stuff or not?
markvd90 said:
Used it and didnt notice any issues. Performance was perfect.
However, I just updated so I lost root.
Does anyone know if I can just root again without wiping stuff or not?
Click to expand...
Click to collapse
Try this one : https://forum.xda-developers.com/mate-10/how-to/guide-mate-10-root-preserve-user-data-t3716547
@otonieru
Isn't it Min Sample Rate value for Small Cores too extreme (30 000)?
On my Kirin960 I use Min Sample Rate valuse on Big and Small Cores at 90 000 and everything is still smooth, I am not gaming though. Huawei on Kirin960 uses Min Sample Rate at 80 000 stock...
Also I am turning on the Fast Ramp Down for Big Cores and Small Cores.
But my setting are more battery oriented and still I don't loose smoothness mate.
Tried the settings on my Mate 10. I see noticeable improvement on battery and performance. I haven't noticed any issue so far. Thanks for sharing.
This thread is underrated, therefore bump.
Tweaked my CPU settings a few days ago, and the difference in battery life is very noticeable, without any obvious loss of performance or fluidity.
Not gonna talk about numbers, because every single user has a different usage scenario, but if you are interested, I recommend you to at least try it, there's nothing to lose.
I can't understand why biggest OEM's won't put a bigger emphasis on optimizations of the existing, rather than on user unfriendly "innovations".
otonieru said:
I am using Hawktail profile from soniCron thread
Click to expand...
Click to collapse
Are you talking about Hawktail from here? https://androidfilehost.com/?w=files&flid=96527
Hawktail, Hawktail1.1 or Hawktail1.2 ?
badmania98 said:
Are you talking about Hawktail from here? https://androidfilehost.com/?w=files&flid=96527
Hawktail, Hawktail1.1 or Hawktail1.2 ?
Click to expand...
Click to collapse
I can say, none of it.
The base is hawktail indeed, but a mix of all those three + an adaptation to suit our 970 cpu better
You can go to sonicron thread to read more about each specific governor parameter and the hawktail profile itself
ytgbg said:
@otonieru
Isn't it Min Sample Rate value for Small Cores too extreme (30 000)?
On my Kirin960 I use Min Sample Rate valuse on Big and Small Cores at 90 000 and everything is still smooth, I am not gaming though. Huawei on Kirin960 uses Min Sample Rate at 80 000 stock...
Also I am turning on the Fast Ramp Down for Big Cores and Small Cores.
But my setting are more battery oriented and still I don't loose smoothness mate.
Click to expand...
Click to collapse
Well, it could be, but maybe not as well, LoL
I didnt really set those number to be a really battery oriented, as this phone already have huge battery to begin with, so even small improvement can do bigger impact.
i tried bigger number, but found it stutter a bit (at least to my liking) so, those are numbers that serve me best.
But of course everyone can re-tweak it to their liking
otonieru said:
I can say, none of it.
The base is hawktail indeed, but a mix of all those three + an adaptation to suit our 970 cpu better
You can go to sonicron thread to read more about each specific governor parameter and the hawktail profile itself
Click to expand...
Click to collapse
So, I have to download hawktail profile and modify it according to your values. Where do I copy the file and how I load it in Kernel Adiutor?
or
I have to modify the interactive governor with these values?
badmania98 said:
So, I have to download hawktail profile and modify it according to your values. Where do I copy the file and how I load it in Kernel Adiutor?
or
I have to modify the interactive governor with these values?
Click to expand...
Click to collapse
No no no, no need to download anything
You can simply input the governor value in the kernel adiutor. You need donate version btw.
On a new profile or over the interactive governor?
badmania98 said:
On a new profile or over the interactive governor?
Click to expand...
Click to collapse
Over the interactive,
Then you can save it as user custom profile
Done. Lets see the result.
applied it and now charging the phone. however one doubt tho. im using kernel adiutor as a user app and applied these settings. will these settings stay even if EMUI closes the kernel adiutor? (not talking about reboot since after reboot the profile needs to be applied again(?))
already selected kernel adiutor to run in background btw.
Saadkhalid786 said:
applied it and now charging the phone. however one doubt tho. im using kernel adiutor as a user app and applied these settings. will these settings stay even if EMUI closes the kernel adiutor? (not talking about reboot since after reboot the profile needs to be applied again(?))
already selected kernel adiutor to run in background btw.
Click to expand...
Click to collapse
It will stay until reboot even if you uninstall Kernel Adiutor. Just dont apply any setting that will affect CPU, like battery saver etc
It best to allow Kernel Adiutor to launch automatically, ignore batt optimisation and run in the background though.
otonieru said:
It will stay until reboot even if you uninstall Kernel Adiutor. Just dont apply any setting that will affect CPU, like battery saver etc
It best to allow Kernel Adiutor to launch automatically, ignore batt optimisation and run in the background though.
Click to expand...
Click to collapse
thanks. can i just turn power saver on from battery setting and then apply these values? just curious.