Automatically set CPU speed depending on conditions - Android Apps and Games

Hello
Is there a application that allows me to, for example, when motion has been detected to the screen the default speed is set, while if no motion has been detected the CPU is set to 75% and when the screen turns off and the phone is locked, the CPU is set to 30% (all of these are examples)
Something that automatically sets the speed when different conditions happen. I believe SetCPU cant do that.
Thanks

SetCPU. You can set yourself the speed of the core cpu when the screen is off, or when you're charging the phone. Other than that. Your CPU actually knows when to increase the core speed and when to lower it down.

freakfingers12 said:
SetCPU. You can set yourself the speed of the core cpu when the screen is off, or when you're charging the phone. Other than that. Your CPU actually knows when to increase the core speed and when to lower it down.
Click to expand...
Click to collapse
Ah SetCPU supports the things I asked? Did not know.

riahc3 said:
Ah SetCPU supports the things I asked? Did not know.
Click to expand...
Click to collapse
It does exactly what you're asking for. Use the profiles feature for the screen off setting. Otherwise, it automatically scales based on usage.

SetCPU can't set speeds by gestures/motion as far as I know. It can only do charging status, screen status, battery % and temperature...
For maximum flexibility what we need is a Tasker/Locale plugin that can change the CPU speed. Or maybe you could program Tasker with intents?

Related

[APPS] Best SetCPU Settings

anyone got what they think is the best configuration for SetCPU?
stock configuration works great for me
min cpu = 225 (or something like that)
max cpu = 995 (again, or something like that)
????
Stock settings are:
Min: 245
Max: 998
CPU Governer: On demand
Charging 998/998
Sleep/Standby 499/245
Power < 25% 576/245
i concur about the stock clock settings, they work best for me. 998 high/245 low
i am opting for stock... im going to assume that htc/google did their research to give us the best blend of CPU speeds depending on what the phone is doing and what the battery power is...
if stock settings are 998 mhz why overclock it? can you get more from the processor than that?
*black*silva* said:
if stock settings are 998 mhz why overclock it? can you get more from the processor than that?
Click to expand...
Click to collapse
you probably can, but you'd just end up burning it out. what you can do is set the low a bit higher than 245. more battery drain will result.
So what are the out of the box settings on the CPU if you dont use setCPU?
Read this thread you will see them
No one has messed with this app?
I have mine set @ stock, but have also enabled a profile for when the phone is asleep. I set it at 300/245. Not really sure if it makes a difference in battery life.
Mine is set to the A1clock speed which is 768max and 245 min.. no lag when swippin and in act1 video player its still smooth..even a droids 550mhz stock speed. Also got it 245max/min when sleep, remember to exclude setcpu if you u wanna see results..
Goonzy said:
Mine is set to the A1clock speed which is 768max and 245 min.. no lag when swippin and in act1 video player its still smooth..even a droids 550mhz stock speed. Also got it 245max/min when sleep, remember to exclude setcpu if you u wanna see results..
Click to expand...
Click to collapse
What's a1clock?
I noticed that when using SetCPU and setting the minimum CPU speed to 245mhz, it seems like the CPU doesnt clock down to 245, but instead stays at 998. By setting the minimum to 328, it works.
Where can u see that?
Formel-LMS said:
Where can u see that?
Click to expand...
Click to collapse
I agree...where are all you guys/gals seeing/getting information like that off of the phone. What are the apps needed to monitor that information.
Also, exactly what is the stock CPU settings?
gururise said:
I noticed that when using SetCPU and setting the minimum CPU speed to 245mhz, it seems like the CPU doesnt clock down to 245, but instead stays at 998. By setting the minimum to 328, it works.
Click to expand...
Click to collapse
I noticed something similar.
When setting it to 998/245 and hit refresh 5 or 6 times you'll never see something under 998 at the top.
When setting min to something else than 245 but keeping 998 for max and hitting refresh 5 or 6 times you'll see the min value a few times when refreshing.
####################
where is the difference between on demand, user space and performance and what did you take? I took performace for some weeks and just set it to on demand (and 998/245)
so what settings would be proper to set to see a difference?

[Q] CM7 performance settings?

Without setcpu or pimp installed, if I just set the max of 1000 and min of 216 in the cm7 performance settings menu to restore on boot, will I get the same effect (the only governor setting that will stick is "null")?
Or is it still beneficial to use setcpu to set a screen-off profile?
And the screen-off profile, should the min and max be the same? 216/216? Or is it better to stagger it a little, like 216/312?
I ended up still using setcpu. The built in CPU settings did not work for me.
Sent from my G2x using Tapatalk
mmapcpro said:
Without setcpu or pimp installed, if I just set the max of 1000 and min of 216 in the cm7 performance settings menu to restore on boot, will I get the same effect
Click to expand...
Click to collapse
No, because this allows the governor to change the CPU anywhere between 216 and 1000. This is the default; unrooted stock has it like this.
And the screen-off profile, should the min and max be the same? 216/216? Or is it better to stagger it a little, like 216/312?
Click to expand...
Click to collapse
I keep it 216/216 then allow an in-call profile that goes up to 312 in case when I'm calling someone and the screen is off it needs a bit more juice.
So basically, if I have setcpu installed, but I leave profiles "DISABLED", and leave the sliders alone, then I'm getting no different result from stock? The governor will decide to use the cpu at whatever frequency between 216 and 1000 that it needs at the time?
mmapcpro said:
So basically, if I have setcpu installed, but I leave profiles "DISABLED", and leave the sliders alone, then I'm getting no different result from stock? The governor will decide to use the cpu at whatever frequency between 216 and 1000 that it needs at the time?
Click to expand...
Click to collapse
The Tegra 2 chipset doesn't allow you to change the governor settings. So to answer your question, yes the CPU chooses what frequency it needs depending on load.

Overclock Question

I am using the Clemsyn Kernel now, but have never done any overclocking before.
What is the effect on battery life if I went to around 1.4ish?
What is the effect on the lifetime usage of my unit if I overclock?
After I download SetCpu, what settings do I use? Do I have to change anything in voltage?
I read something where people sometimes underclock when the screen is turned off. How can I do this?
Thanks for any help. I am a noob when it comes to overclocking.
deadhead85 said:
I am using the Clemsyn Kernel now, but have never done any overclocking before.
What is the effect on battery life if I went to around 1.4ish?
What is the effect on the lifetime usage of my unit if I overclock?
After I download SetCpu, what settings do I use? Do I have to change anything in voltage?
I read something where people sometimes underclock when the screen is turned off. How can I do this?
Thanks for any help. I am a noob when it comes to overclocking.
Click to expand...
Click to collapse
Start off by setting your main profile to 1.4GHz and tick set on boot. And theres your overclock... I think interactive gov. is the most useful, you can try others if you want.
If you would like to limit the speed when screen off, add a profile under profiles select screen off and set your wanted frequency when screen off.
reidar.ostrem said:
Start off by setting your main profile to 1.4GHz and tick set on boot. And theres your overclock... I think interactive gov. is the most useful, you can try others if you want.
If you would like to limit the speed when screen off, add a profile under profiles select screen off and set your wanted frequency when screen off.
Click to expand...
Click to collapse
+1 This is exactly what I've done
If you set the max speed to 1.4 GHz and set the governor to performance it will drain the battery faster than if you had it set to the others. You'll most likely have already upgraded the TF by the time it dies due to overclocking. It does shorten the life, not dramatically though. You can set up underclocking in profiles.

[INFO] setCPU details

Here is a great resource where you can learn a lot about the setCPU app and what all the features actually do.
It is very informative and in particular, this is what appealed to me:
"The Advanced menu allows you to tweak the finer aspects of certain CPU governors. It is only activated when you choose the ondemand or conservative governors.
Sampling Rate - An interval (in microseconds) at which the governor will poll for updates. When this happens, the governor will decide whether to scale the CPU up or down.
Up Threshold - Defines a percentage from 1% to 100%. When the CPU load reaches this point, the governor will scale the CPU up.
Down Threshold (conservative only) - Defines a percentage from 1% to 100%. When the CPU load reaches this point, the governor will scale the CPU down.
Ignore Nice Load - If this value is "1," the system will ignore "Nice" processes when deciding to scale up or down.
Powersave Bias (ondemand only) - Setting this value higher will "bias" the governor toward lower frequencies. This is a percentage, where 1000 is 100%, 100 is 10%, and 0 is 0%. The ondemand governor will scale the CPU to a frequency lower than its "target" speed according to this value.
Freq Step (conservative only) - Defines how much (as a percentage of the maximum CPU speed) the conservative governor will increase the CPU speed by each time the CPU load reaches the Up Threshold.
Choose the "Set on Boot" checkbox to apply advanced settings when the phone boots. This option is completely independent of the similar option in the Main tab."
Thought i would post this to keep people informed.
Also, you can save battery with higher up thresholds ;D
I remember seeing this info at http://setcpu.com link mentioned in the about tab.
Higher up thresholds are not always good. It is better to have processor stay in 1200 state at 50% for 2 seconds compared to staying at 800 for 5 seconds at 100%.
diablo009 said:
I remember seeing this info at http://setcpu.com link mentioned in the about tab.
Higher up thresholds are not always good. It is better to have processor stay in 1200 state at 50% for 2 seconds compared to staying at 800 for 5 seconds at 100%.
Click to expand...
Click to collapse
WHOA theres a setCPU.com? wow
Mohammad_Adib said:
WHOA theres a setCPU.com? wow
Click to expand...
Click to collapse
Yes sir. It explains each and every option in the app, plus has a changelog too.
Edit: I saw the site u mentioned. It is a copy-paste from the setcpu.com site.
diablo009 said:
Yes sir. It explains each and every option in the app, plus has a changelog too.
Edit: I saw the site u mentioned. It is a copy-paste from the setcpu.com site.
Click to expand...
Click to collapse
wow....lolz

Custom cpu limiter

In the options to save battery life there is an option to turn on a cup limiter. Is there a way to automate this? Limiting the cpu when not in use automatically would be helpful. Or does this phone implement this already? Does a program already exist to do this? Any knowledge on this topic would be helpful.
Dreadsta5889 said:
In the options to save battery life there is an option to turn on a cup limiter. Is there a way to automate this? Limiting the cpu when not in use automatically would be helpful. Or does this phone implement this already? Does a program already exist to do this? Any knowledge on this topic would be helpful.
Click to expand...
Click to collapse
As far as I know, 8 core exynos cpus use 4 power efficient cores. so in some way they apply limiters.
I think every Android lowers the CPU frequency when not used....
Yes, but when you go to battery, and max power settings, the one thing on the list that affects the time the most is the speed limiter, which shows to add like 1200 minutes every time. I'd like to just use that alone on occasion, and not be limited to 8 apps.
Why do not you try using Tasker for this?
that wont really affect anything, the CPU will automatically idle when its not performing a task or if the screen off.
Dreadsta5889 said:
In the options to save battery life there is an option to turn on a cup limiter. Is there a way to automate this? Limiting the cpu when not in use automatically would be helpful. Or does this phone implement this already? Does a program already exist to do this? Any knowledge on this topic would be helpful.
Click to expand...
Click to collapse
I use different kernel apps 3 c toolbox or kernel auditor and limmitnmine on the snap dragon model I cap my big cores normally to 1.9 and small cores to 1.4 or so. I would love to shut a few off but Samsung uses there own hotplug and most kernel apps can't do nothing with that
Maybe you could check this app
https://forum.xda-developers.com/android/apps-games/app-helix-engine-v1-0-beta-3-t3745746

Categories

Resources