Process Monitor - Epic 4G Q&A, Help & Troubleshooting

I am trying to get the best batt life out of my Hawk 2.3.4 V4 rom. I would have posted this there, but I cant due to the 10 post min. I pay quite alot of attention to what is being said in the forums, I just dont post alot.
I want to know what processes exactly are eating up the CPU time in the android processes, so that I can get rid of the ones I dont need.

Try looking in the market for an app called better battery stats. Its a really good app and when read correctly it will give you the information you need.
Sent from my SPH-D700 using xda premium

I guess I should clarify. Better battery stats is not a process monitor. All it foes is keep track of how many times each app accesses the CPU. There is also an option for how many "partial wake locks" are being performed by each app. Basically a partial wake lock is when the screen is off and an app starts working while the phone is off. Many people have had good luck with this program. I for one have found that having an alarm on in my phone, regardless of when its going to go off (even 12+ hours from now) will cause partial wake locks. And staying logged into Facebook will cause massive battery drain on my phone. Hope this helps.
Sent from my SPH-D700 using xda premium

Goto a shell and type "top"
Also check out spare parts
Sent from my SPH-D700 using XDA App

Related

How to stop running unwanted background stuff.

Is there an app or something that actually tells me what is running I. The background? I'm currently using automatic task killer but I feel that it only kills somethings and not all.
Sent from my PC36100 using XDA App
try system panel. or taskiller
Why do you want to kill the apps? Android will stop them for you if it needs the memory. Hitting the back button at the bottom of your phone should exit you out of the app you're currently in.
What do you have running in the background that's killing your phone so bad?
Sent from my PC36100 using XDA App
Autostarts is a good paid app. Prevents certain apps from ever starting automatically.
Sent from my FROYO'D EVO using xda app
Love autostart.. cheap and on cm6 with stock root I hit 1903 on quad. Also I removed alot of stuff. Almost barebones then installed my 28 apps. Still get average 1800s. +1 for autostart.
Sent from my PC36100 using XDA App
atypical1 said:
Why do you want to kill the apps? Android will stop them for you if it needs the memory. Hitting the back button at the bottom of your phone should exit you out of the app you're currently in.
What do you have running in the background that's killing your phone so bad?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
You can back out to exit but doesn't shut down the app when you are done with it. Stays in the background. Developers need to start putting close or exit on apps to close and shut down the app instead of leaving it in background. There is 3 parts.. background..foreground.. and cached..
Sent from my PC36100 using XDA App
atypical1 said:
Why do you want to kill the apps? Android will stop them for you if it needs the memory. Hitting the back button at the bottom of your phone should exit you out of the app you're currently in.
What do you have running in the background that's killing your phone so bad?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
The back button closing apps is a large myth for most apps. Some are coded that way but not all. As for the other post about AutoStarts, it is a great app for root users. Just be careful. However, 2.2 is great by itself about managing apps and resources on its own without a 3rd party task killer. I use AutoKiller to tweak Android's own task manager to kill off items sooner. Just because you see an app running does not mean it is using battery or hogging resources. Android is not a Windows device.
Sent from my iPhone with the bigger Gee Bees.
Well the reason I'm asking is because, I am rooted with 2.2 But I still get horrible battery consumption. I thought it might have been all the background apps still running or on standby. I used taskkiller myself but i really don't see a difference.
Sent from my PC36100 using XDA App
Good info on the back button. I always thought that worked for some applications. I don't see how force closing an application can be good for your phone though anymore than force closing a program is great for your computer. But I'm not totally familar with the OS on our phones.
But my understanding about the OS is that it will shut down apps on it's own in case it needs the memory right? And, to your points just having apps open won't necessarily drain the battery.
OP, how's your reception. It's also my understanding that having poor reception will drain your battery worse too. Are you running GPS, wireless, or services that use those resources?
Not at all, I don't even have Bluetooth on. And using system tools I can see that before killing any background apps the phone is using 63% memory when killing the apps its reduced to 42%
Sent from my PC36100 using XDA App
autostarts + system panel + juice defender
Take a little time to learn how they work, one you get them set up you'll be a happy camper.
nebenezer said:
autostarts + system panel + juice defender
Take a little time to learn how they work, one you get them set up you'll be a happy camper.
Click to expand...
Click to collapse
+1 for system panel. This will tell you not only what processes are running, but will also tell you how much battery and CPU they use (and have used over the past X hours). It's invaluable when trying to find the rogue process that's sapping up your battery.
Sent from my blah blah blah blah
I don't know why there should be any problem with killing an app or service through the app manager. I do it frequently. At first I did encounter unexpected results but these are less now as I become more familiar.
I wondered, though, is there a preferred order of stopping and clearing data/cache through the app manager (in 2.2)?
I didn't know there was background/forground/cache difference: in froyo, it appears to me that app manager shows all of those under "running"--is that correct? Also, you can look at services. If a service (calendar, talk, etc.) is running, for example, it could be an obvious thing to stop if you aren't using it. You will see if you log out of the service first, and then check the service list, that it might remain running.
I think when you re-start the device very little starts with it. You can use that as a baseline.
Playing games online realtime is probably the biggest power hog I've found. I sometimes cannot play for even 15 min.
Other days, the device holds juice for more than 24 hrs.
The signal strength seems to be the main variable in my experience. The phone signal strength makes a difference, so does 3G, and 4G even more. It's like there's a threshhold or a revolving time--sorry, I don't know the right term here--but the device goes round and round searching if it thinks some signal is out there or if you trigger an app that calls for it. OTOH, once the device really finds nothing at all it drops everything. It shuts down entirely and you get really great battery life

Program that shows individual program usage?

I have done everything imaginable to improve battery life and my battery monitor shows that 93% of my battery is taken up by my screen. I always thought this was a good thing as it means my system isnt raping my battery.
Im using syndicate 1.2 and i have everything disabled drm/sns/sys update etc etc.
I just dont understand how my battery gets drained so quick. Honestly with regular usage (no games...just browsing and news) on a regular battery it maybe will last 6-7 hours. Doesn't really make alot of sense to me. Was hoping I could narrow down specifically what may be causing it.
Im using beautiful widgets (static location, switcher pro widget, calwidget and thats seriously it with launcher pro. I should be getting great battery life
try spare parts from the market.
hm good suggestion i didnt know it had that feature lol or i just havent opened the program in so long. I removed pandora/winamp/shazam widgets from my phone to see how that makes a difference.
quick question if you know...i know gps isnt supposed to use battery unless a program is accessing it but i hear people say to turn it off all the time. I have seek droid installed as well as lookout and I'd like to keep gps on but if its draining battery just by being 'on' without being used i'll leave it off.
Yeah, widgits will wipe out your battery. Especially if they are constantly updating....
Sent from my SPH-D700 using XDA Premium App
sceptor said:
quick question if you know...i know gps isnt supposed to use battery unless a program is accessing it but i hear people say to turn it off all the time. I have seek droid installed as well as lookout and I'd like to keep gps on but if its draining battery just by being 'on' without being used i'll leave it off.
Click to expand...
Click to collapse
Or, you can pay for Titanium Pro or Bloat Freezer And freeze apps that run even when not in use like Maps,Poweramp,Root Tools, there are lots that do that I bought Bloat Freezer and found out even Google+ runs when not in use. I had like 16 running unknown to me. Launcher Pro was and I use Zeam....
Sent from my SPH-D700 using XDA Premium App
I have launcher pro and I don't think I can get around its usage I just don't get how the programs are raping my battery while not being used. Like pandora or winamp widget shouldt be doing a single thing unless I click them. Same for shazam etc. I want to have access to them via widget but have them frozen if not being used
Sent from my SPH-D700 using XDA App
sceptor said:
I have launcher pro and I don't think I can get around its usage I just don't get how the programs are raping my battery while not being used. Like pandora or winamp widget shouldt be doing a single thing unless I click them. Same for shazam etc. I want to have access to them via widget but have them frozen if not being used
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
You can't have your cake and eat it too. The best thing I can recommend is to put app shortcuts on your home screen, you can afford 1 more tap but you can't magically add more battery.
Also turn down your screen brightness. The display is the biggest drain on your battery than anything else. I can literally watch the percentages click away while browsing or reading through XDA. Screen off I use about 1% an hour. Reading XDA I can drop from the 90's to the 70's in 20 minutes.
kennyglass123 said:
Also turn down your screen brightness. The display is the biggest drain on your battery than anything else. I can literally watch the percentages click away while browsing or reading through XDA. Screen off I use about 1% an hour. Reading XDA I can drop from the 90's to the 70's in 20 minutes.
Click to expand...
Click to collapse
Yup and XDA runs in the background when not in use..kind of disappointing. I use this app more than any other these days
Sent from my SPH-D700 using XDA Premium App

[Q] How do you find out which app is causing a WAKE LOCK?

How do you find out which app is causing a WAKE LOCK?
same question. If someone knows, please enlighten us.
Thanks
There are a few apps that are available in the market to single it down if it's not obvious like facebook
Better battery stats is one off my head, you can single it down by seeing what's using battery usually by going to settings > battery and seeing what's at the top... If it's not display then you've got a wake lock usually.
.. unless you're doing standby battery tests
sent from my googletron
The best way to check if you even have any wakelocks is to check the battery graph under settings and see if your phone's awake time is greater than it's screen time (I attached an example of my phone's graph while asleep a few nights ago)
If it's like mine you obviously have some wake locks...and to find out what services are waking up your phone, already recommended Better Battery Stats shows you what woke your phone via partial and kernel wakelocks...partial wake locks are what you're really looking for since kernel wake locks are obviously at the kernel level and if you're using a halfway decent one it shouldn't really be a problem
From here you just need to track down what services are initiating the partial wake locks (the service name is listed) and either turn it off or uninstall the associated app
EDIT: The Galaxy Nexus (for me at least) has been causing issues with wakelocks at least on 4.0.3 (see my stats attachment) but it's looking like a core OS thing and since 4.0.3 hasn't even been pushed out OTA yet it would make sense that they're ironing a few things out. Though I still am trying to troubleshoot what the services are specifically
Sent from my Galaxy Nexus using xda premium
Better battery stats allows you to see partial wakelocks
Sent from my Galaxy Nexus using xda premium
joshnichols189 said:
Better battery stats allows you to see partial wakelocks
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
+1
Sent while thinking about my Galaxy Nexus

[Q] Why does it keep on lighting by itself? [SOLVED]

Lately the phone started to light itself on every ~2 minutes or sometimes it stops for a while and randomly does it again.
I usually place it next to my TV desk or on my computer one, is that the cause? If so, is it in any way harmful?
re
maybe some app is running in background......
maybe because of some background apps
Like the two people above me said check which apps are running in the background. I don't really know much, but maybe Better Battery Stats app will help. It's in the market. I use it to check which apps keep waking up my device and preventing it to deep sleep, thus draining battery.
Well I press the Home button a few times and even open the Task Manager to see if anything is running and there's nothing. :s
Task manager doesn't show apps running in the background.
Sent from my GT-S5360 using xda premium
Goto
Settings>> Applications>>Running Services
there you will find all the apps running in background
check which application(not stock core applications ) are running end any third party app and see if it helps
Install better battery status and check the partial wakelogs to know which app is conflicting
Sent from my GT-S5360 using xda premium
Thanks everyone. I think there was some left out stuff I forgot to end.

Should i hard reset?

no matter what phone ive ever had, ive never gotten battery life like aot of you guys do. i dont know how you do IT but ive given up trying.. Even . even with roms i cant. i am on stock wiht note 2 and it is so bad that i can unplug and not touch my phone and it goes to 90 percent with the screen off within 20 minutes . i have sync gps wireless and bluetooth off. and my screen goes black in 10 seconds. one thing is when i go to running programs it shows alot so i use the broom to clean it and then when i check back to ruining programs a minute after, there are lots of apps open again. even things like word with friends that of course wouldn't be open if i didn't open it. have you heard of this/. or is it normal? would you suggest a hard reset? any suggestions would be appreciated. im not as savvy with flashing roms on here as i was with early phones so id prefer to say on stock. thanks so much
jeff
Phones aren't the same each one is different. What battery performance I get may not be the same as you as our chips etc may run slightly different.
With that said, the biggest influence over battery performance is the kernel. I run saber kernel 42.4 and get 1% loss per hour with the screen off.
Of course you can try that kernel and see how it works for you. There are a lot of tips threads in these forums but I would advise you to turn off tts any and all sounds on your phone, by that I mean keyboard sounds etc.
Then you need to download better battery stats and greenify. The first will tell you what apps are eating your battery and the second will let you force close the app until you restart it.
Sent from my GT-N7105 using xda app-developers app
+1 for greenify. I would also look at xposed boot manager and recciever stop. Grenify puts programs to sleep and the other 2 stop them starting in the first place. You have to be rooted but you will definitely notice the difference
Sent from my GT-N7105 using XDA Premium 4 mobile app
Autostarts app will allegedly stop them from starting as well.
Sent from my GT-N7105 using xda app-developers app

Categories

Resources