Related
Hey all,
Sorry if this has been answered/asked already, but is there a way you can prevent SetCPU from getting killed by AutoKiller? I have the autokill-profile in AutoKiller set to "Default", but the system assigns SetCPU an OOM value of 11-14, which is the highest value for getting killed (essentially regarding it as extremely non-important). How does one PERMANENTLY set SetCPU on the "Do-Not-Kill List"?
Thanks in advance.
PS: I'm running KaosFroyo v35-1 and so I can't uninstall Autokiller.
Short answer: No
Long answer: Noooooooooooooooooooooooooooooooo
Hungry Man said:
Short answer: No
Long answer: Noooooooooooooooooooooooooooooooo
Click to expand...
Click to collapse
Lol...funny stuff
As for OP you can uninstall autokiller if you want too...just look up how to remove apps through adb or terminal on phone.
Hungry Man said:
Short answer: No
Long answer: Noooooooooooooooooooooooooooooooo
Click to expand...
Click to collapse
why cant you just lower the oom value by clicking and holding setcpu under the processed tab and select lower oom value, it will drop it to -17, which practically means it is being ignored.
"Practically" is not what he asked for. What he asked for is a permanent solution.
tyler1524 said:
why cant you just lower the oom value by clicking and holding setcpu under the processed tab and select lower oom value, it will drop it to -17, which practically means it is being ignored.
Click to expand...
Click to collapse
That only works for about 3 minutes, until the system automatically increases the OOM value back to like 12 or 13.
I don't understand... even when I have it set to system default, after a while, it still kills it. So that means, even if I were to uninstall Autokiller, the SetCPU would still be killed after a while?
Doesnt matter if its killed. Its android, itll come right back
Nikolai2.1 said:
Doesnt matter if its killed. Its android, itll come right back
Click to expand...
Click to collapse
That's the problem. SetCPU doesn't.
Acrono said:
That's the problem. SetCPU doesn't.
Click to expand...
Click to collapse
I check my processes constanly and i dont see it going away. Maybe im wrong
Maybe Autokiller is correctly determining that SetCPU is consuming more power and Country cycles than its providing. I've certainly found that to be the case with Kaos Froyo
-------------------------------------
Sent via the XDA Tapatalk App
I'm joking about Autokiller's intuition but serious about the dubious benefits of SetCPU on an already overclocked ROM
-------------------------------------
Sent via the XDA Tapatalk App
Nikolai2.1 said:
I check my processes constanly and i dont see it going away. Maybe im wrong
Click to expand...
Click to collapse
It's always killed after 10-15 minutes, even on the default setting. If I set it to aggressive, immediately after it goes into the background, it's killed within a matter of seconds.
paulbonner said:
I'm joking about Autokiller's intuition but serious about the dubious benefits of SetCPU on an already overclocked ROM
Click to expand...
Click to collapse
KaosFroyo is already overclocked? I notice a huge performance gain when I enable SetCPU and OC it to 710mhz. If KaosFroyo is indeed overclocked already, then it must be set pretty low, or at least, very close to stock settings....
Acrono said:
KaosFroyo is already overclocked? I notice a huge performance gain when I enable SetCPU and OC it to 710mhz. If KaosFroyo is indeed overclocked already, then it must be set pretty low, or at least, very close to stock settings....
Click to expand...
Click to collapse
Ocd to 710 by default
Edit: I've had the best results ditching setcpu and using the collin_ph script, just btw
I see that setcpu is at a constant 2 ooms. Now im using Zen express but idk if that makes a difference. And im set to strict
The real and best answer I have for the first post (and what I do, and advise everyone I am around to do)
Stop using Autokiller.
Android does a great job killing processes.
Most users use 4-5 apps constantly throughout the day, and if the few most commonly used ones stay in memory more often than not, the phone is FASTER, as a result of calling up apps instead of having to completely relaunch them every time.
YES, using autokiller to adjust your memory settings can help if you are normally running process-intense apps in the background (like I sometimes run a VNC for work that will chew up some processor time if I just hit 'home' when I'm done instead of killing the task, or sometimes a small game that you figured was not in memory anymore, is still chewing up processor time).
BUT
That is what, and only what, I use a task killer for. I open up Free Advanced Task Manager, kill my background process that I don't want running, and move on with life.
9 days out of 10, I don't use a task killer, and I NEVER use auto killer.
If you want to keep your phone faster than not, use 'back' to get out of apps instead of pushing 'home'. Unless 'back' is mapped to something in the app (like for some apps), back will end the process rather than leave it running.
I could write ten pages on why to not use autokiller, but a lot of guys who are a lot smarter than me will swear by it. I just find it slowing down my phone by forcing me to re-launch things like Handcent SMS, my Web Browser, and Google Voice, when I'd rather have those things stay running in the background. They don't chew up much processor time just sitting in the 'background', and my phone is WAY faster if it takes 1 second to open up each app instead of 3-6 seconds (because autokiller made my phone already automatically kill the task).
Good luck with your decision, sir.
And if you're using xtrSense, you can just set up your GScript to overclock how you want (mine's at 806800), and if you're using Froyo ROMs, you can use the battery tweak. SetCPU isn't that useful for most of these ROMs, since the methods of overclocking by collin_ph's battery tweak and xtrSense's GScript are faster and more efficient, and don't require a background process like SetCPU to be running.
But that's just my opinion. I hope it helps.
I use System Panel to basically monitor my memory instead of just relying on Autokiller to manage them for me. I also found that the way I use my phone, similar to the way pkopelek mentions, a few select apps a day, my free memory stays fairly close to what it did with autokiller installed. Average around 40-60 and if I kill a few off, up to 90-100.
One thing I have noticed is that System Panel comes with a cpu scale and shows your clock speed. With no SetCPU installed my CPU will drop down to 245 and then bounce around and finally settling back to 245 then the cycle starts again. With Collins tweak I get the same response. However, with SetCPU installed my CPU will clock down to 245 and sit there until I touch the screen. I have to believe that SetCPU is doing something that collin's isn't. Now the only way I can get it to behave this way is if I change the advanced parameters.
just my 2 cents.....
When I used AutoKiller and SetCPU (I used both between May and August) before I started using xtrSENSE v4.x, I never had a problem with SetCPU quitting working under any ROM, including any Froyo that was out at the time.
I only mean that perhaps the problem isn't between SetCPU and AutoKiller. Maybe it is the ROM??? Just guessing here.
Nikolai2.1 said:
I see that setcpu is at a constant 2 ooms. Now im using Zen express but idk if that makes a difference. And im set to strict
Click to expand...
Click to collapse
I'm using this: http://forum.xda-developers.com/showthread.php?t=685594 and the value is ALWAYS above 9. I've never had it down that low except when I temporarily add it to the ignore list (it falls out after about 5 minutes).
I am using an hd2, and i have noticed something that may be causing a lot of battery drain, that is consistent among every build that I have used. When I use setcpu, and give it root access, and whether i select auto detect or manually put in nexus one/snap dragon, it does not listen to the cpu cap that i put. i will exit the app, and go back to it, and the cpu clock speed with almost always exceed the cpu cap that i set, and many times, it will be running at the full 998 mhz. why is this, and how can i fix it?
I uninstalled SetCPU the other day as a little experiment. It makes f-all difference to me. In fact it makes things worse.
no longer needed with the latest kernels
metaltorizo said:
I am using an hd2, and i have noticed something that may be causing a lot of battery drain, that is consistent among every build that I have used. When I use setcpu, and give it root access, and whether i select auto detect or manually put in nexus one/snap dragon, it does not listen to the cpu cap that i put. i will exit the app, and go back to it, and the cpu clock speed with almost always exceed the cpu cap that i set, and many times, it will be running at the full 998 mhz. why is this, and how can i fix it?
Click to expand...
Click to collapse
This problem seems to relate to a kernel feature called perflock .. disabling this in-kernel allows the cpu cap in setcpu to be adhered to .. Unfortunately this is done at compile time and has no userland interface to use. I dont think its relating to all the battery drain you see but for sure if you limit cpu speeds with profiles like screen off it will have an effect.
try updateing super user libraries.
BurekUSvemiru said:
try updateing super user libraries.
Click to expand...
Click to collapse
Whats that then ?
how would i go about updating the su libraries? does anybody have an actual fix to this, because i would think my battery would be a lot better if the set cpu app was actaully working. and no, the latest kernels dont seem to be doing their job, because they all burn through juice like theres no tomorrow.
u have 2.04 installed ? it fc'd for me , now im using 2.02 no problems , try that
metaltorizo said:
how would i go about updating the su libraries? does anybody have an actual fix to this, because i would think my battery would be a lot better if the set cpu app was actaully working. and no, the latest kernels dont seem to be doing their job, because they all burn through juice like theres no tomorrow.
Click to expand...
Click to collapse
You don't update the su libraries .. su is either a static file or a link to busybox .. i cba looking right now .. probably a binary compiled statically ..
To have your issue resolved have a word with your friendly neighborhood kernel builder and ask him to disable perflock .. Its not needed for normal operation.
I'm having the same problem. Does anyone know how to get setcpu to work?! I have an HD2 running darkstone Froyo.
I apologize in advance if someone has covered this, but I discovered a nice little trick thats simple to perform and gives me roughly 2-3x additional battery life than before (if not more).
Recently I got a little fed up with my ~8hour battery life and decided to get a 3500mAh battery. Even after receiving my brand new fat battery, I was still only getting about ~16-18 hours on a charge. Well I decided to get to the bottom of this and see just what exactly was sucking away my juice.
I managed to find a handy little app named "PowerTutor" that gives a great reading of what applications are using power and approx how much. It even separates network usage from processing jobs as far as power consumption is concerned. After taking a few samples over various time frames and conditions I came to the conclusion that the biggest power consumer was actually the Google frameworks.
The simple fix to this:
Download "DroidWall", an excellent application that allows you to black or white list applications from data use. After blacklisting Google app frameworks. I saw a very significant change in battery life.
The next thing I did was grab "SetCpu" and set up a profile on event "Screenoff" to go to "powersave" mode and set my frequency 537max and 245min with a low priority. I set an additional profile for when my phone is active at full the frequency range with on demand scaling. Theres are better configurations out there I'm sure but this is just what I used on the fly. Feel free to set it up however you'd like.
I've been using my phone all weekend with moderate use (text, web, videos, etc) and now see an amazing standby time. The only problem with blocking the Gapps frameworks from having net access is that gapps specific applications can no longer update in real time. I'm a Google voice user so this started to present itself to be a problem. Luckily GVoice is capable of forwarding text to phone. And when you do that the Gvoice app will pick up the standard text as long as you have the option selected from your Gvoice account. So I just disabled standard text notifications on my phone. Now when I'm sent a text, Gvoice picks it up and I can respond with Gvoice just as nothing had changed.
Yes I already know turning your data connection would in theory do the same thing as listed above. However this way you dont have to toggle your data on and off constantly.
Hope this helps someone, if you get a chance to try this out post your results!
Interesting, may give this a shot
Sent from my PC36100 using XDA App
Breaker253 said:
The next thing I did was grab "SetCpu" and set up a profile on event "Screenoff" to go to "powersave" mode and set my frequency 537max and 245min with a low priority. I set an additional profile for when my phone is active at full the frequency range with on demand scaling. Theres are better configurations out there I'm sure but this is just what I used on the fly. Feel free to set it up however you'd like.
Click to expand...
Click to collapse
Everything else you said has peaked my interest and so when I have time I will test these suggestions.
However, I just wanted to point out that the powersave governor locks the cpu speed to the min frequency and so there really is no reason to specify a max of 537 or anything else because the powersave governor won't allow the cpu to scale beyond the min value.
On the opposite side, the performance governor locks the cpu speed to the max freqeuncy and won't allow the cpu to scale below the max value.
If you intend on using the powersave governor and want your cpu to not go above 537 then set the min value in setcpu to 537. As I said earlier, the powersave governor will lock the cpu at the min value so if you do this you will always be at 537 during screen off.
Breaker253 said:
.....set up a profile on event "Screenoff" to go to "powersave" mode and set my frequency 537max and 245min with a low priority.
Click to expand...
Click to collapse
Why set Max to 537? Powersave pegs CPU frequency to min value.
Sent from my PC36100 using XDA App
ah, didn't know that. I thought that on power save it just stepped the cpu frequency up slower and dropped it much faster. thanks for the correction .
Sent from my PC36100 using XDA App
Breaker253 said:
ah, didn't know that. I thought that on power save it just stepped the cpu frequency up slower and dropped it much faster. thanks for the correction .
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
That's the conservative governor which I personally use for sleeping and I don't change the max/min values either.
How does this affect google maps navigation, push gmail, and things like that?
Gmail seems to be pushing fine for me. Maps works also but you'll need to have gps active.
Sent from my PC36100 using XDA App
Question for you OP. you said you blocked google frameworks. I don't use google voice, so that part won't be an issue. My question is, what else is affected by the framework being blocked?
lovethyEVO said:
Everything else you said has peaked my interest and so when I have time I will test these suggestions.
Click to expand...
Click to collapse
Just since I see this error all the time, the phrase is "piqued my interest," not "peaked."
From what I've experienced, clocking too low can use more battery since the cpu has to stay at the max clock for longer periods of time to complete a task, as it is not as efficient at performing it.
I've only noticed location services (not gps) blocked. Gmail seems to be receiving updates as far as I can tell. Other than that everything seems to be working as our should.
Sent from my PC36100 using XDA App
Breaker253 said:
I've only noticed location services (not gps) blocked. Gmail seems to be receiving updates as far as I can tell. Other than that everything seems to be working as our should.
Click to expand...
Click to collapse
Looking at the DroidWall screenshot, it appears the calendar and contacts won't sync automatically either. If it wasn't for that I'd probably give this a try.
eventer289 said:
Just since I see this error all the time, the phrase is "piqued my interest," not "peaked."
From what I've experienced, clocking too low can use more battery since the cpu has to stay at the max clock for longer periods of time to complete a task, as it is not as efficient at performing it.
Click to expand...
Click to collapse
I posted that with my evo using swype and I wasn't paying attention to the auto correct. Thanks for the correction though.
Going to keep my eye on this thread.... I use google calendar EVERY day, so I need that.... Anyway to unblock certain apps?
so if i already manually sync gmail, contacts, facebook, and gCalendar, will this still help me?
Unless you temporally disable the blocking of frameworks, calendar and contacts won't be able to update with what's NOT on your phone already. You can still use your contacts and calendar, it just won't update if you made any changes from the web and not on your phone.
Sent from my PC36100 using XDA App
I'm using juice defender on my ego and it seems to work great. I'm also using setcpu to knock the sped down to 245 when the screen is off. It's also set to gradually step the speed down as the battery drains. At 75% its at 844 at 50% its at 614 and at 25% its at 422. All of them have a min of 128. My off screen life is insane. In 7 hours it went from 100% to 90% with some light use and mostly sleep time. Right now I'm at 65% with a good 3 hours of net use on my wifi and a few other things. Before all this I was getting 8 hours total.
Once a get a good week of use ill try out droidwall. It looks neat and I like its charts
Breaker253 said:
Unless you temporally disable the blocking of frameworks, calendar and contacts won't be able to update with what's NOT on your phone already. You can still use your contacts and calendar, it just won't update if you made any changes from the web and not on your phone.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Will changes to the calendar and contacts from phone still sync to Google automatically?
Wouldn't most of this be achieved by simply turning Auto-Sync off? (can be done using the Power Control widget for easy access.) Or am I missing something?
This is what I do when I want to save power. Then you can manually sync gmail and things whenever you like from within the respective apps.
I've gotta feeling you used latitude in google maps and also have the location settings all checked under settings-> location in the main android settings panel. If your not on WiFi this will drain your battery pretty decently, and even more so if you are in not so great coverage.
hello.
could you help me to chose economy kernel for my device i9000.
i need more working time on my device.
thx for answers
Well, if you are willing to sacrifice some power you could underclock with Damian's ultimate kernel and as well undervolt (whatever your phone can handle)
apart from changing the kernel, have you tried tasker? this app can really help you to save some battery...
I dont no about Kernels But ive heard 'insanity' ROM is amazing on battery life without losing speed and features.
check for it under development and see what Kernel people are using with it.
i try to underclock CPU but program that i use cant use all frequency only 100 - 500 mhz.
can you give me advice what program can underlock CPU and good task killer.
i need much web serfing
elxeon said:
i try to underclock CPU but program that i use cant use all frequency only 100 - 500 mhz.
can you give me advice what program can underlock CPU and good task killer.
i need much web serfing
Click to expand...
Click to collapse
as for now, try damian's kernel, underclocking setting is in the recovery menu. As far as I know, he is working on an app for the new kernel but just try version 1.1
Concerning task killers, I found out that they do more harm than good. Don't use them...
The problem with web surfing is that the display is on all the time (what else?!^^) and it consumes a lot! there is not much one can do about it...
how can i reduce consamption of display? can i change white color on black in browser? to reduce consamption of energy?
elxeon said:
how can i reduce consamption of display? can i change white color on black in browser? to reduce consamption of energy?
Click to expand...
Click to collapse
I assume you have already set brightness to minimum, in addition you could use the app "screen filter" which makes the display even darker but then it is only readable in the dark.
Do you set your brightness to automatic ?? thats a big help
As for changing display color i dont know if thats possible, unless you can find a themed version
EDIT: sorry just noticed the above post
GMH24 said:
I assume you have already set brightness to minimum, in addition you could use the app "screen filter" which makes the display even darker but then it is only readable in the dark.
Click to expand...
Click to collapse
i already done all your advice
may be thomething else?)
i use program that control brightness but i forgot how it's called. i download it from android marke and than reflash device
and say please One Click Lag Fix APK decrease or increase reducing power?
lagfix will always reduce battery life, but the more updated lagfixes use less, but still use more than stock.
Have you got the app "juicedefender" thats a good app and i have been using it daily for months.
elxeon said:
and say please One Click Lag Fix APK decrease or increase reducing power?
Click to expand...
Click to collapse
I ran some test cycles with speedmod and ultimate kernel with both standard file system and converted system. Therefore, I can say that just changing the filesystem does not influence battery life in any way noticeable.
azzledazzle said:
lagfix will always reduce battery life, but the more updated lagfixes use less, but still use more than stock.
Have you got the app "juicedefender" thats a good app and i have been using it daily for months.
Click to expand...
Click to collapse
it's realy working?
thx i will test it.
GMH24 said:
I ran some test cycles with speedmod and ultimate kernel with both standard file system and converted system. Therefore, I can say that just changing the filesystem does not influence battery life in any way noticeable.
Click to expand...
Click to collapse
as i know One Click Lag Fix APK change only file system?
its not MEGA improvement but the donate version has more options. what it does is cuts off all connectivity on screen off, so nothing is being used when it shouldnt be.
its really good IMO, and the partner to the app is 'juice plotter' this will identify what running processes are happening when the phone is idle, allowing you to modify to save battery life a little more. another similar app which is also good but a little hard to understand is 'task identifier' this is similar to juice plotter,
it tells you what apps and processes are starting up automatically. Over night i found 48 processes happening when i was sleeping. THAT drains battery
What exactly are your battery stats?
how long does your phone last on one charge? how long is the display on? how long do you call?
elxeon said:
i already done all your advice
may be thomething else?)
i use program that control brightness but i forgot how it's called. i download it from android marke and than reflash device
Click to expand...
Click to collapse
I like speedmod's modification on screen brightness that allows for even lower brightness than I got from voodoo kernel. No idea if other kernel has such feature.
on one full charge i get roughly 2 days.
display is on automatic and i make about 5 - 10 calls a day, and text all day, i manually push emails every few hours and browse the market / xda / youtube for a few hours a day.
Im not a heavy user, but i play alot of games ( especially angry birds ) im more than happy with my battery usage.
Im also on the JQ1 modem, if this is of any use.
If you want to use screen filter, leave the brightness at automatic and it is great in all but the brightest sunlight. I use auto brightness and 60% filter to good effect. You can create a widget, so it can be turned off if required. It also plugs in to Tasker if you want to set up automatic profiles.
Also, the Super Optimized Kernel is worth a look. Each OC/UV value can be completely customized (unlike DamianGTO's kernel, which relies on a series of presets), using the "Voltage Control" app.
I would stay away from Ext4 lagfixes if battery life is of upmost importance. That said I use lagfixes and am torn between JFS and Ext4 with 'unsafe' mount options (selected in recovery). EXT4 with 'safe' mount options uses far too much battery IMO.
JFS is somewhat unstable, and EXT4 'unsafe' can become corrupt after an improper shutdown. The battery life with ext4 'unsafe' is slightly worse than JFS, but you get a corresponding slight increase in performance. Try each for a day if you go that route before choosing, but for the reasons described above be prepared to reflash in case of disaster...
Gmail & K9mail both use wakelocks. I don't trust them even in manual check mode. Something much more light weight seems appropriate.
It's important to get this right since the main point of a Nook NST for me is saving battery and being able to pick it up and use it straightaway. If an app starts waking up and draining battery even a little then it's no longer going to last for a month.
Using a browser such as Opera can work but it's a little clunky and so is freezing and unfreezing apps even with a widget. Any recommendations for an email app?
Not sure about email apps so this doesn't answer the question you're actually asking, but may have a functionally similar outcome. Using a CPU scaling app with profiles and setting it so the range of frequencies the CPU can use when the screen is off has both the maximum and minimum values at the lowest possible helps a lot for me.
neoman4426 said:
Not sure about email apps so this doesn't answer the question you're actually asking, but may have a functionally similar outcome. Using a CPU scaling app with profiles and setting it so the range of frequencies the CPU can use when the screen is off has both the maximum and minimum values at the lowest possible helps a lot for me.
Click to expand...
Click to collapse
Thanks buddy but I find I get a month as it is just making sure that the phone.apk and related stiff that starts after rooting is removed. I don't think I need CPU scaling because that's already working for me. Main thing is to watch those wakelocks. There are tons of apps that cause them including skype, paypal, facebook, whatsapp. Only fix is to freeze them, avoid or get the progammers to do it properly and program thier app in 2 parts