SetCPU Tips? - Nexus One General

I'm trying to use SetCPU to maximize my battery life. (I heard it can help) Does anybody have any tips? Right now I have the CPU set the 384 max while in sleep/standby mode.

basically make it so that it uses the lowest clock speeds when its on standby and the highest when your using it for highest performance!!!

Related

Bug in SetCPU or in Nexus kernel?

If I set the min cpu speed to the minimum (245MHz) using SetCPU and then refresh the CPU monitor, it's always at Max (998MHz).
However if I set the min to 384MHz and refresh, it's at 384 (unless something else is going on in the background in which case it might increase a bit).
This is all with the CPU governor set to on-demand
If I set MAX cpu to 245 then the monitor says it's 254, btw, so it seems it can run at that speed fine and the monitor is working ok apparently. It's just with min speed set to 254, it seem to stick at 998Mhz.
Does anyone else see this behaviour?
It this just a problem with SetCPU, or an underlying issue?
well, having played around with it some more, it seems it's actually the cpu speeding itself up so rapidly when monitoring it that it registers max MHz!
If I increase the up threshold, or the sampling rate, so that it doesn't step up a gear so quickly, then the monitor reads 245MHz.
This does raise the question though that if simply pressing the refresh button is enough to up the cpu to max when it's at the default settings, maybe there are better settings for battery life?
Maybe a slightly higher minimum speed is better, so that it doesn't step up all the time (because when it does, it seems to go straight to max).....

Legend and SetCPU? (min and max frequency you can achieve?)

Hi all,
Has anyone tried using SetCPU on his rooted legend? I tried on my non rooted one just too have a look at the CPU frequencies, to see how it behaves at idle and so, and while max is 600MHz the min is "only" 480MHz.
Doesn't that sound a bit high for the min frequency? The snapdragon is clocked at 1GHz and idle is 250Mhz. Has anyone tried lowering the idle frequency on the legend to gain some battery life?
Hi Bricolo_fr,
I found this entry in the FAQ of SetCPU documentation fount here (http://www.pokedev.com/setcpu/):
"Why aren't there more speeds to choose from?
The speeds which the CPU can run at is in part a kernel limitation and in part a hardware limitation. Attempting to set the CPU frequency to anything else won't cause any changes in CPU speed. On some devices, the kernel can be modified to enable certain other frequencies. There are other speeds that would be useful, the capabilities of the processor itself often hinders which frequencies are available on a device."
Anybody has the skills for making a kernel change?or some ideas for us being able to use this properly?
Hi,
Today I rooted my legend and tested again SetCPU. At the begining, it was only possible to set CPU from 480 to 600 mhz, but then I red this in SetCPU documentation:
http://www.pokedev.com/setcpu/
--------------
10. Disabling Perflock
On most stock HTC kernels and some custom kernels, HTC has enabled a driver called "perflock" that constantly resets SetCPU's Max and Min settings. This does not apply to mostly "Google experience" HTC devices such as the T-Mobile G1, the myTouch 3G, any Google development device, or the Nexus One. It does, however, apply to "HTC Sense" devices such as the HTC Hero, Droid Eris, HTC Desire, HTC Incredible, EVO 4G, and myTouch Slide. Non-HTC devices never have perflock enabled.
SetCPU can disable perflock on newer HTC kernels, giving you control of the Max and Min settings of the CPU. To do this, press the Menu button on your device in the Main tab and choose "Disable Perflock." Read through the notice and then press the button in the dialog. If successful, you should be able to change the frequency with SetCPU. If this process fails, please e-mail the developer with your kernel version and device so support can be added.
Keep in mind that disabling perflock does not enable overclocking, though some overclocked kernels may require perflock to be disabled. Overclocking, in most cases, requires a custom kernel.
-------------------
So, in the last version of SetCPU there is an option in the menu called "Perflock Disabler" With this option, it is possible to select the minimun frequence to any value from 0 to 600 Mhz.
I have not been able to modify maximun to a value higher than 600 mhz (overclock) but I think the best target is to reduce battery consumtion decresing the minimun mhz value. Actualy I set minimum 128, maximun 600.
so, are you sure you could set it to the minimum of 128? because i think it doesn't work actually...at least without a modified kernel
I got a min at 19 MHz. to 600 Mhz.
casca said:
so, are you sure you could set it to the minimum of 128? because i think it doesn't work actually...at least without a modified kernel
Click to expand...
Click to collapse
Yes. Also confirmed with the app Os Monitor:
-Saling range: 122880-600000
-Frequency range:19200-600000
-Governor: ondemand
-Current: 122880
Software version: unbranded 1.31.405.4 (just rooted with Monodaco method and applyed all OTA updates)
In SetCPU Info:
-Time in state:
19200: 22
122880: 1169071 (Currently I set minimum at 122880)
128000: 0
245760: 269491
480000: 362472
600000: 347583
SetCPU in Legend allows the following governors: userspace, ondemand, and perfromance. Ondemand works fine. Userspace and performance makes extrage things (i tested quickly, to be honest)
I defined several profiles in SetCPU, depending of battery chage, and seems to work fine. But, I did not enable "Set on boot" option in SetCPU and need to activate "Perflock Disabler" in SetcPU menu everytime I reboot Legend (I prefer to test a SetCPU a few days before enabling "Set on boot")
well...this is nice... after disabling the "perflock" option...
I set the minimum value to 19mhz....lol... with "ondemand" management of the cpu...
I think I'have seen a HUGE improvement of the battery...When I mean HUGE, I really mean HUUUUUGE!
Like, for a 12hours use always with 3g data on,and 2 hours of wireless...lost only 30% of battery...
Testing today for more results...
I use the profile manager in SetCpu to set the CPU to 128-256 while screen off, max mhz while charging, etc.
I have seen big improvements.
Yes, battery improvement is very nice. This solution is great.
I am testing a profile to 122-245 while usb charging. So, when I use Googla Mobile Navigation it is able to load a bit battery while using GPS (normaly drains battery a bit while charging)
out of charge at 6am...it's now 10am...3g ON...wireless ON now for 2hours...
So, in resume, on 4 hours of use the battery loss - 6%
At this rate, and with these settings it should last for about 66hours, about 2,7 days.
Let's see...
casca said:
out of charge at 6am...it's now 10am...3g ON...wireless ON now for 2hours...
So, in resume, on 4 hours of use the battery loss - 6%
At this rate, and with these settings it should last for about 66hours, about 2,7 days.
Let's see...
Click to expand...
Click to collapse
Holy crap!!Yea, that would definately make me root!
Sent from my HTC Legend using XDA App
I can only say...in 3g mode and with the wireless ON 90% of the time from 6am to 00.00, i had more than 40% battery left at 00.00 when i went to bed.For me it's a new record.
Sent from my HTC Legend using XDA App
In my case, tested yesterday:
Battery consumption:
battery at 100% at 10:00 am. 3g data on 1 minute every 15 minutes (JuiceDefender), 30 mínutes call and 8 emails received and red a long de day. Battery was at 41% at 1:00 am. I spent the day in a place with low 3g network (between 1 and 2 bars in the top right corner)
SetCPU Configuration:
-Profile 1: when battery is between 50% and 100%: min 122 mhz, max 600 mhz
-Profile 2: when battery is between 30% and 50%: min 122 mhz, max 480 mhz
-Profile 3: when battery is between 0% and 30%: min 122 mhz, max 245 mhz
So, battery save is very nice.
this is soooooo interesting....
I couldnt find the app in the market...i found the apk in the HTc Dream forum...version 2.01 by coolbho. Is it ok to use that ?
i think so...
in worst scenario...it won't run lol...(i think!)
If i use linpack i can see someone with a legend that runs on 711mhz? Am i missing something can we overclock..
Sent from my HTC Legend using XDA App
I've made some profiles too, and it's working really well.
Are you guys using the auto detection of the device? I've used it in the first time, but it detected my device as a Hero(?) since the max frequency was only 528mhz. Then I've changed the device and selected MSM7x27 manually and got the 600mhz max and many middle frequencies like 120, 122 and 128mhz. Now I've changed the device again to auto detection and it worked this time, got the 600mhz max, but less middle frequencies (no 120 or 400mhz). Also, i'm using 122mhz as the minimum frequency in all profiles, isn't 19mhz too low? Or the demand feature really works that well and I will not even notice any difference?
wasup!
19mhz is not too low, i've used it and had a huge increase in battery life.
I am using profiles also at the moment.
Regards
Learners Lisence said:
this is soooooo interesting....
I couldnt find the app in the market...i found the apk in the HTc Dream forum...version 2.01 by coolbho. Is it ok to use that ?
Click to expand...
Click to collapse
Hi,
You can download from this link:
http://forum.xda-developers.com/showthread.php?t=505419
If you like the app, you can donate getting from Maket. Look for "setcpu for root users". It is only 1.99 USD.

Post your SetCPU profiles screen...

Hey Guys. I know there are posts about over clocking and that there are threads like this in the other device forums.. BUT
Now that the new CyanogenMOD CM6.1 is out I was wondering what everyone is doing for their SETCPU profiles.
Can it please be time for us to make a thread like this for the Aria?
To start out, I'm confused about the order of my profiles.
(sorry but i don't have screen capture on the aria yet. anyone have a suggestion on what to use, PM me.)
here is what i currently have going on, highest priority first
100) Temp >50"C = 122"F then.. max 600, min 245, ondemand
75) screen off = max 245, min 245, ondemand
50) charging/full = max 864, min 245, ondemand
40) batt < 10% = max 245, min 245, powersave
30) batt < 25% = max 480, min 245, ondemand
20) batt < 50% = max 600, min 245, ondemand
so my biggest concern is if the temp gets too hot.. scale back to the default max of 600mhz.
if the screen is off then i'm not using my phone so slow the roll
if the batt is full or charging and the screen is on then FULL SPEED AHEAD!!!
if the batt is less than 10%, slow down as much as possible
if the batt is less than 25%, take it easy to conserve power
if the batt is less than 50%, bring it back down to the default max of 600mhz
does that make sense?
Check out "screenshot" by Gik Soft, small and simple, shake to take a screenshot.
Your interpretation of the profiles looks fine to me. For screen off, powersave limits the CPU to the minimum speed anyway, so min=max is redundant.
I noticed quite a bit more battery drain when using profiles (because SetCPU is constantly monitoring your device) but results may vary. Personally, I only boost the CPU for games and documents, and SetCPU will typically bump your phone down to minimum when idle anyway (assuming you don't have intensive background apps running).
I noticed the same, using profiles seems to drain my battery faster. So I just manually toggle my clock speeds. If you set to on demand you dont really even need to worry about a screen off profile. And when my battery starts to get low I just scale down the speed. The only time I've ever come close to needing a temp profile was if overclocked to 825 and using my phone intensively while it was charging...i never go over 806 anymore so temp is never a problem.
I can however see profiles being useful if you keep your phone overclocked to the max all the time.

[Q] Why doesnt my phone underclock to 122.88mhz

Has anyone else noticed this? My phone only goes to 245 mhz for idle speed. Android system info said that the cpu can go as low as 122mhz. I think it would save some battery life right?
yes we can... but you need root acces and setcpu
and you can underclock
PM me if you need more help
i suggest dont do that..
i ever do that, n phone become slowly ..
even to open setting..
it will become slow like symbian, and what ur friends think about it??
maybe they will thinking, android very slow :|
godfadger said:
Has anyone else noticed this? My phone only goes to 245 mhz for idle speed. Android system info said that the cpu can go as low as 122mhz. I think it would save some battery life right?
Click to expand...
Click to collapse
what ROM are you using? I'm using racht's floyo 0.15 and when the screen goes off the cpu idles at 122 MHz well.
or maybe you checked cpu freq when screen is on? because it's not 'idle' state.
This sounds interesting - can you guys let me know if you manage to extend battery life with this... and how much by, daily charging is sucky!
I use setcpu with this configuration:
Max: 600000
Min: 122880
Scaling ondemand
check: set on Boot
I also create profile:
Screen Off
Max: 320000
Min: 122880
Scaling ondemand

[Q] How can i save my battery at M4?

Things that i did for my battery
lower brightness
sync off
gps off
about voltages,
lagfree / sio
min 100 / max 800
no live oc & deep idle on
yet, still i lost approximately 8~10% / hour
i really dont what's my problem
Maybe you have a wakelock?
I set a cpu profile for screen off at 400mhz, 1075mV. Matrix kernel seems to be the best for battery life, as well....you may wish to try it out I run overclocked @1200mhz with my screen off profile, and it gets me through an entire day with normal use...when I plug it in at night I usually have 10-15% battery left

Categories

Resources