Suspend Process using lots of CPU - Desire General

Hey all,
Noticed my battery level dropping pretty quickly even with SetCPU etc. underclocking my Desire when the screen is off. It seems it's the Suspend process using around 30% CPU for no reason. See screenshots attached.
Any ideas what could be causing this?
Thanks
Russ

It may be that System Panel itself is causing your issue.
See this thread.
Regards,
Dave

Having it simply installed would cause this? I don't usually leave the monitoring running unless I suspect something is up, that's the only reason it's running at the moment.

roakes said:
Having it simply installed would cause this? I don't usually leave the monitoring running unless I suspect something is up, that's the only reason it's running at the moment.
Click to expand...
Click to collapse
Probably not, but it may be skewing your results when you try to determine what's causing the problem. What about partial wake locks - is anything else keeping the phone from sleeping?
Regards,
Dave

Doesn't seem to be anything else. I'll keep an eye on it now that I have changed the priority setting on system panel.

It's definitely not SystemPanel. I have it and it's off and the suspend process is running wild.

esone1ll said:
It's definitely not SystemPanel. I have it and it's off and the suspend process is running wild.
Click to expand...
Click to collapse
Did you ever find out what was causing this? I'm finding the same thing on my phone twice this week.

turn off auto sync, toggle on off as needed, you can be running all sorts of data through system apps via 3G even when the phone is asleep/standby

Foxmeister had a point because suspend does show up as 10-30% consistent when you have hardware monitoring and logging enabled in many apps like System Panel.
-----------------------------------
- Sent via my HTC Desire -

pedaah said:
turn off auto sync, toggle on off as needed, you can be running all sorts of data through system apps via 3G even when the phone is asleep/standby
Click to expand...
Click to collapse
this isnt it. i had my phone in airplane mode all night and the "suspend" process started running at 10% CPU from 10pm to 6am when the battery died. if airplane mode was on the whole time, no way its caused by data/network

I am having the same issue, airplane mode was on but suspend is acting crazy. This has been killing me since I've flashed the new update for evo 4g for my rooted phone. 30% sucking from process has left me charging my battery twice a day. Please help if anyone can!

same issue here.
EVO ... Froyo 2.2
suspend ... according to watchdog ... is regularly registering at over 50%...
if i reboot the phone .. it will take care of the issue for a few hours or maybe a day ...

I'm having this problem too. Rooted with Myn's Warm ROM. Someone at AF said it was the Facebook app. I'm uninstalling that now...
...any other ideas?

Same problem. Rooted evo king bfs #9 kernel

I have "always on data" un checked and noticed this... Maybe apps are trying to sync but have no network connection...

Was having same issue with rooted stock rom. Recently flashed to Vaelpak 2.2 and hasn't happened yet...

So this still happens to me once in a while. I found if I'm in an area where I can connect to wi-fi, the suspend process drops to 0, after connecting to wi-fi. Other than that only a reboot will "fix" it for a while.
Anyone else have any updates?

I raised the flag on this issue in early august for my stock 2.2 EVO. I was basically ignored back then, so now that others are experiencing this, perhaps we can get enough info to submit to HTC for a fix. If it's affecting the EVO and the Desire, it probably affects all 2.2 Sense UI androids.
http://forum.xda-developers.com/showthread.php?t=759301

I'm in the same boat... I never noticed this problem, until Sunday. Now I have had the problem 3 times in 4 days. Reboot fixed each time, but seems to be coming back more often now.
I'm running VaelPak 2.2... Maybe gamer83 is onto something with it being Sense related /shrug...Has anyone running CM noticed this issue?

I am experiencing abnormally high suspend cpu activity too. The strange thing is it behaves when I am connected to a wifi network. It goes to crap when I am away. Not sure if means anything, but when I am away I have 4G on.
Make sure to star this issue:
http://code.google.com/p/android/issues/detail?id=11126

Related

Android system - partial wake lock - one solution found

I have my phone running 99.6% of the time in spare parts and it shows android system as the culprit holding a partial wakelock.
so my question is, how do i fix this? i've tried a factory reset three times, am updated to 1.21 ota and have slowly started to reintegrate apps but it always starts again and always after a different app.
i'm getting pretty frustrated anyone got any ideas?
UPDATE In my case it was network time abusing wireless location service that was causing the problem and hence the reason a factory reset didnt solve it, i switched off network time and voila!
just to clarify, no live wallpapers, and phone is in airplane mode to avoid any data usage drainig the battery.
i have got beautiful widgets homescreen small clock and pure cal widget installed at the moment but even when i uninstall them it doesnt fix it, also im running launcher pro 0.4.2 but also had the problem when i reverted to sense.
and i have read every other thread here about battery life that i could find but no-one seems to have this problemo
anyone with any advice on why my phone wont sleep?
A long shot, but go in to Mobile Settings and untick Enable always-on mobile data.
Philosoma said:
A long shot, but go in to Mobile Settings and untick Enable always-on mobile data.
Click to expand...
Click to collapse
ok cool, giving that i try now but i had been leaving it in airplane mode to try and take the vagaries of data out of the equation.
this started about a week ago and i really noticed it when i was in a 6 hour long meeting and my battery basically draines 60% even though the phone was in airplane mode
ok tried that but with my phone just factory reset, airplane mode and no apps installed other than spare parts it's showing running 94.1 % of the time and all of it is android system.
that cant be right
i have restored data, maybe i shouldnt restore data either but that just seems plain crazy
Re: Android system - partial wake lock
What exact foreground and background processes/services do you have running when this is happening, any idea?
Apps like System Panel can show you them and some useful other details. That is certainly too high.
-------------------------------------
- Sent via my HTC Desire -
th3 said:
What exact foreground and background processes/services do you have running when this is happening, any idea?
Apps like System Panel can show you them and some useful other details. That is certainly too high.
-------------------------------------
- Sent via my HTC Desire -
Click to expand...
Click to collapse
ok right now there is
com.android.syncml.service
sense
market
messages
people
rss reader
syncml provider
sys panel
touch input
updater
and then a load of inactive cached applications
do you see anything unusual there?
ok so i downloaded system app and killed all apps except excluded and sytem apps and my running usage has gone down, now thats no suprise in and of itself but now i need to see if it stays down.
i've just checked again and the percentage is still going down, so it's either an inactive app which i didnt list ( is that even possible if its inactive) or one of the items i listed above.
has anyone got any thoughts.
What do the logs say upon going to standby? (Use aLogcat to watch/save system log).
I had same problem I tried the turning off network always on to off, didn't change anything. the thing that worked for me was turning off my flickr account!? For some reason it kept my calendar awake so keeping system from sleeping, don't ask me why as I can't figure it out, though since doing this I'm now getting up to 2 days of average use from the battery. Also I've done the usual of reducing the different accounts sync timings etc.
Have you typed *#*#4636#*#* into the phone key pad to look at what is happening? This can give valuable info on what's draining the battery.
Jazd71 said:
I had same problem I tried the turning off network always on to off, didn't change anything. the thing that worked for me was turning off my flickr account!? For some reason it kept my calendar awake so keeping system from sleeping, don't ask me why as I can't figure it out, though since doing this I'm now getting up to 2 days of average use from the battery. Also I've done the usual of reducing the different accounts sync timings etc.
Have you typed *#*#4636#*#* into the phone key pad to look at what is happening? This can give valuable info on what's draining the battery.
Click to expand...
Click to collapse
I have the same problem as OP since the latest update. The *#*#4636#*#* code is not helping in this case. The partial wake lock is displayed as Android System - which doesn't tell me anything.
I read something about the Calendar issues but I am unable to stop the calendar in running processes.
How did you solve your problem?
ferus said:
I have the same problem as OP since the latest update. The *#*#4636#*#* code is not helping in this case. The partial wake lock is displayed as Android System - which doesn't tell me anything.
I read something about the Calendar issues but I am unable to stop the calendar in running processes.
How did you solve your problem?
Click to expand...
Click to collapse
Ok i seem to have had some luck since last night though i'm not sure of the exact reason.
i did as th3 said and downloaded system monitor and then killed all background active and inactive tasks and that seems to have solved the problem. I have no idea why that would be the case though and i am watching it carefully to see if it stays fixed.
i dont have a flickr account setup
djet said:
What do the logs say upon going to standby? (Use aLogcat to watch/save system log).
Click to expand...
Click to collapse
Djet, I installed alogcat and have found all references to wakelock, rather than post the entire log
D/PowerManagerService( 77): wakelock: PARTIAL_WAKE_LOCK 'NetworkLocation Check Location' activated (minState=0)
D/PowerManagerService( 77): wakelock: PARTIAL_WAKE_LOCK 'NetworkLocation Check Location' activated (minState=0)
D/PowerManagerService( 77): wakelock: PARTIAL_WAKE_LOCK 'keyguardWakeAndHandOff' activated (minState=0)
D/PowerManagerService( 77): wakelock: FULL_WAKE_LOCK 'keyguard'ACQUIRE_CAUSES_WAKEUP activated (minState=3)
there are also some entries in red like this one
E/vold ( 53): Unable to lookup media '/devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0:0001'
and a load of errors to do with global search etc but this is all pretty much gobbledegook to me, what am i looking for?
thanks
ok so based on that log i have switched of the use wireless networks to find my location (not gps i hardly ever use that anyway) and now the running % is dropping fast.
i will keep you posted as to whether it keeps coming down or not.
it is going to be an enormous bummer if i cant use wireless location, thats one of a smartphones greatest powers, why would this suddenly start happening now ( started about a week before the ota update) and continues even when i factory reset.
kinkade said:
ok so based on that log i have switched of the use wireless networks to find my location (not gps i hardly ever use that anyway) and now the running % is dropping fast.
i will keep you posted as to whether it keeps coming down or not.
it is going to be an enormous bummer if i cant use wireless location, thats one of a smartphones greatest powers, why would this suddenly start happening now ( started about a week before the ota update) and continues even when i factory reset.
Click to expand...
Click to collapse
I suppose it's not the feature itself guilty but the applications using it. I had the same issue with battery running out because of Location service wake locks. It turned out one of the Locale app plugins was abusing this service. Having it uninstalled battery run became normal.
djet said:
I suppose it's not the feature itself guilty but the applications using it. I had the same issue with battery running out because of Location service wake locks. It turned out one of the Locale app plugins was abusing this service. Having it uninstalled battery run became normal.
Click to expand...
Click to collapse
Yes i know what you mean, how did you go about diagnosing that? also i have done several factory resets and it still happens
Re: Android system - partial wake lock
There are a many app settings that drain battery and the stock setup is nothing I am fond of. Location/locale was one of them for me, calendar, network time and widget/app syncs being the others. A non-stock app causing such problems was NetCounter.
Calendar was fixed by killing it and restarting it. It's a known bug for many.
If many widgets are running sync very often, then you can imagine battery draining fast.
-------------------------------------
- Sent via my HTC Desire -
th3 said:
There are a many app settings that drain battery and the stock setup is nothing I am fond of. Location/locale was one of them for me, calendar, network time and widget/app syncs being the others. A non-stock app causing such problems was NetCounter.
Calendar was fixed by killing it and restarting it. It's a known bug for many.
If many widgets are running sync very often, then you can imagine battery draining fast.
-------------------------------------
- Sent via my HTC Desire -
Click to expand...
Click to collapse
th3 you are legend, it was network time, i switched that off and all is now well in the world. cheers dude
Good find. I had the thing off anyway, but it is good to know.

[q] system monitor suspend?

Ok so fully rooted, running new fresh rom, kings kernal bfs 8.
So looking my up time is almost right on with the awake time.
Ran system monitor and it says that system process is 13.4%. I go into that and my suspend process is 13.4 %, then go into that and it says the cpu usage is 9.5%..... why is it doing that? Why won't it let my phone sleep or go into standby?
I'm getting horrible battery. HELP!
Anything is really appreciated.
Thanks
Bump
Sent from my PC36100 using XDA App
Have you used autostart to disable anything?
I noticed that when I disabled HTC Friendstream from starting that Suspend would eventually start dating up cpu time.
I assumed since I didn't use Friendstream at all it would be safe. I was mistaken.
...in 1943, I killed a drifter.
I'm getting the same issue lately. More people chimed in on it on this thread:
http://androidforums.com/evo-4g-support-troubleshooting/161412-suspend-process.html
I've found rebooting is the only thing that will fix it. Its only happened twice in the past week though, not sure what is causing the suspend process to do that yet. Trying to pin it down but since it takes at least a day or 2 for it to start happening its tough.

[Q] What is a good ratio of running vs "screen on" time?

I've been constantly battling sleep issues. I am on PRI/NV 1.77 and latest radio. I tried downgrading to 1.77 just recently to see if it would fix it and it hasn't, but I'm staying put.
Running latest MIUI and Savage 1.6 kernel.
Spare parts had been showing on average 50% running time even though my screen on time would be something like 5%. I had read that ideally these ratios should match, since it means your phone is properly sleeping.
Spare parts shows paltry wake locks of just a few seconds or minutes for Android System as the top app. I've killed all my widgets and even tried airplane mode and don't notice too much of a drop. After getting rid of all updating widgets (minimal text and the MIUI cal widget) and stopping google calendar sync I'm currently at 30% running vs 5% screen on. I've basically got everything that would run in the BG disabled -- set cpu, system monitor, etc. Is this a "good ratio"? Any other ideas on debugging what seems to be an obvious wake lock? I've looked at logcat and don't see a thing that looks interesting, hardly any activity. Am I just being crazy or does it seem like I still have a wake lock?
Thanks for reading
If you've constantly been battling sleep issues, I would start looking at rogue apps that may be causing Android System processes to act up.
For instance:
I was battling a sleep issue with before knowing about PRI 1.90 causing it. Went so far as to reinstall my ROM wipe wipe and wipe some more before finally figuring it out.
In another instance I was battling sleep issues because of HTC's Facebook for HTC Sense. It was causing constant sync and I didn't notice because the sync icon would eventually go away, even if it took around half an hour.
One more instance, constantly changing governors with SetCPU was causing Android System process to use up a lot of CPU and my phone would become sluggish, and only after opening SetCPU and closing it again would my phone return to normal.
I would definitely start out by figuring out what apps you may have running at all times that aren't native to Android, then go from there. It sucks but once you figure it out, good times!
freeza said:
If you've constantly been battling sleep issues, I would start looking at rogue apps that may be causing Android System processes to act up.
For instance:
I was battling a sleep issue with before knowing about PRI 1.90 causing it. Went so far as to reinstall my ROM wipe wipe and wipe some more before finally figuring it out.
In another instance I was battling sleep issues because of HTC's Facebook for HTC Sense. It was causing constant sync and I didn't notice because the sync icon would eventually go away, even if it took around half an hour.
One more instance, constantly changing governors with SetCPU was causing Android System process to use up a lot of CPU and my phone would become sluggish, and only after opening SetCPU and closing it again would my phone return to normal.
I would definitely start out by figuring out what apps you may have running at all times that aren't native to Android, then go from there. It sucks but once you figure it out, good times!
Click to expand...
Click to collapse
Thanks for the reply.
So, this is a bad ratio then, i'm not nuts?
I kill EVERYTHING then sleep and i'm still seeing the issues. Is there some more fool proof way I can guarantee nothing is running before sleeping? My guess would be something syncing more than it should have. Should I try toggling everything app's sync off and then sleeping?
Ok, turned off sync, slept and the top UID was 10018, which on my phone linked back to Google Service Framework. I'm clearing data, turning off sync and watching again to see if it has issues.
lil-dice said:
Ok, turned off sync, slept and the top UID was 10018, which on my phone linked back to Google Service Framework. I'm clearing data, turning off sync and watching again to see if it has issues.
Click to expand...
Click to collapse
Interesting, I had that UID 10018 problem before and I never figured it out. It maybe Google Talk, Gmail, or even the Calendar. You may have to try clearing caches of one or all three to really see.
Cleared data, sleeping didn't improve. I slept with sync off after clearing data...i'm at a loss. I have next to nothing starting up. The only thing I can think is that Spare parts is reporting wrong information. You'd think it would be fairly easy to determine why the phone is not sleeping. If i don't even have sync turned on and it's still not sleeping as much as I feel it should be, I'm at a bit of a loss :/
lil-dice said:
Cleared data, sleeping didn't improve. I slept with sync off after clearing data...i'm at a loss. I have next to nothing starting up. The only thing I can think is that Spare parts is reporting wrong information. You'd think it would be fairly easy to determine why the phone is not sleeping. If i don't even have sync turned on and it's still not sleeping as much as I feel it should be, I'm at a bit of a loss :/
Click to expand...
Click to collapse
Under battery........what are your Up Time and Awake Time looking like?
Identical? minutes apart? seconds?
freeza said:
Under battery........what are your Up Time and Awake Time looking like?
Identical? minutes apart? seconds?
Click to expand...
Click to collapse
I'm not sure how to get to that in MIUI, in battery settings i jut see my minutes since unplugged. No Awake time.
What's a good ratio for awake/screen on? I really wouldn't want my awake time to be more than %120 of the screen on time. This can change if you regularly use the phone while the screen is off (music playing, wifi stuff, etc). At least, I'm pretty sure having the wifi on will increase your awake time.
Saturn2K said:
What's a good ratio for awake/screen on? I really wouldn't want my awake time to be more than %120 of the screen on time. This can change if you regularly use the phone while the screen is off (music playing, wifi stuff, etc). At least, I'm pretty sure having the wifi on will increase your awake time.
Click to expand...
Click to collapse
hmm ding ding ding.
Turned off wifi, did a quick 15 minute test and now my awake/screen are right in line....so what gives? Why does wifi prevent my phone from sleeping? Since i'm running MIUI i have to have wifi set to never sleep otherwise you get random reboots...feel like i'm between a rock and a hard place now :/
lil-dice said:
hmm ding ding ding.
Turned off wifi, did a quick 15 minute test and now my awake/screen are right in line....so what gives? Why does wifi prevent my phone from sleeping? Since i'm running MIUI i have to have wifi set to never sleep otherwise you get random reboots...feel like i'm between a rock and a hard place now :/
Click to expand...
Click to collapse
That's just how it is for all AOSP kernel using roms. Their wifi sleep mode is absolutely terrible. On the plus side, it seems as though it doesn't use an absurd amount of battery to keep the wifi on.

[REQUEST] simple app: Help with overheat problem

Hello,
I need a simple app to help with an overheat problem on my EVO.
Let me recap the problem simply, when the phone gets too warm it will shut down and vibrate five times and then blink the green LED. The phone then cannot be turned back on until the battery has cooled down.
I have found a half solution, if my phone is in Airplane mode then it will not shut down even when it is warm. So, to avoid shutdown, I need a simple widget. The widget should be 2x1. On the left side, a simple battery temp monitor. On the right side, an airplane icon to let me know if the phone is in airplane mode or not.
What I need the app to do is to automatically switch the phone to airplane mode if the the phone gets above a user designated temperature. The only exception to the automatic airplane mode should be if the phone is in a current call. Seems like the phone will let me finish a call before shutting down due to heat. Hopefully the app can throw the phone into airplane mode immediately when the call ends. But if that exception is too difficult, the primary functionality would still be worth it.
This is my first app request, so I don't know if I'm being specific enough. I also know that other people can use this app. Hopefully someone out there can help us all out.
Thanks
There is an app called tasker that should be able to do that for you. At least untill someone can build an app for you.
Sent from my PC36100 using XDA App
Not sure what your doing to over heat the phone, but I would try to fix the problem instead of usong a work around. It sounds like you have an inefficient kernel or its too far ovrrclocked. I'm thinking continual use in this overheated state will cause unrepairable damage to your phone.
Just looked at Tasker, from what I can tell it does not have Temperature as an event.
And the problem cause is not my kernel, from what I can tell. I've tried a few different kernels on a couple different mods. I've tried underclocking and under volting. Nothing seems to help. From what I've read, I might have a faulty sensor.
I had a hell of a time with cm7 and the jit compiler. Poor battery life and running warm even when browsing the web. Not sure what your running but it may be as easy as tapping a checkbox.
siris420 said:
Not sure what your doing to over heat the phone, but I would try to fix the problem instead of usong a work around. It sounds like you have an inefficient kernel or its too far ovrrclocked. I'm thinking continual use in this overheated state will cause unrepairable damage to your phone.
Click to expand...
Click to collapse
It's a hardware cpu sensor calibration issue, according to Sprint tech Lokifish Mars. Search for my thread in Evo General.
I avoid shutdowns by keeping battery temp < 39°C.
mine overheated when i was charging and using hotspot/tether, somehow after i wiped my sd card and everything else and installed the rom again it never overheated again.
somehow the more apps get installed the more the chanse some of them be are gonna be running in the backgroung, who knows...
omenovi said:
mine overheated when i was charging and using hotspot/tether, somehow after i wiped my sd card and everything else and installed the rom again it never overheated again.
somehow the more apps get installed the more the chanse some of them be are gonna be running in the backgroung, who knows...
Click to expand...
Click to collapse
Some phones overheat and shutdown regardless of installed apps, rom, or kernel. My Evo consistently shutsdown at 39°C, even when running bare aosp w/zero apps installed.
It's only an issue for me when playing games, using the phone in high ambient temps, and flashing mods. Keeping the battery & cpu cool with a fan or ac vent is the only way I can flash mods or roms.
Elixir is a free app on the market, you can make customizable widgets (1x1 up to 4x1), one for temp, the other to toggle airplane mode.
I use it to monitor temp, battery, cpu freq, and cpu %, and to keep an eye on ram.
Works well.

[Q] Tracking down Wake Lock

Hey guys,
This has been bothering me for a while now, but on occasion, my phone just stops sleeping. I attached a screen shot to show what I mean.
It happened on stock, so I've tried a couple other kernels, but they have the same problem.
Any suggestions?
Sent from my SPH-D710 using xda premium
trifthen said:
Hey guys,
This has been bothering me for a while now, but on occasion, my phone just stops sleeping. I attached a screen shot to show what I mean.
It happened on stock, so I've tried a couple other kernels, but they have the same problem.
Any suggestions?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Yes, probably you're experiencing the "AndroidOS" runaway issue. This is a nebulous and currently unresolvable issue, probably related to some Samsung/Sprint driver issue(s) causing feedback loops between the events/0 and suspend processes. It seems to be fixed temporarily by a reboot, or just randomly. It may or may not be associated with excessive battery usage.
I used to get those solid awakes, but then I froze a lot of apps and it went away.
I didn't do it systematically to figure out which was the cause.
As an aside, if you have an older version of FlightView, then that could definitely cause the issue. That isn't a stock app, but is somewhat popular and had a bug keeping the phone awake *even though it wasn't configured to do anything*.
Kn0wBuddy said:
Yes, probably you're experiencing the "AndroidOS" runaway issue.
Click to expand...
Click to collapse
Ironically, my AndroidOS has always been high (almost always higher than display), but it would always sleep just fine, and my battery-life was pretty good. But every time this happens, my AndroidOS is actually lower than usual.
So I've temporarily disabled Juice Defender (just in case it was interrupting something and confusing it into holding a wake lock) and removed the Facebook widget (Better Battery Stats had that listed as 50% of the wakeup events, which is just ridiculous).
I set a custom reference point so I can watch it for a while and see if anything weird pops up. It seems to be happening more often in the last week or so, and the only thing I did back then was remove Watchdog, because I haven't gotten any alerts for about a month.
I have noticed that usually when it gets stuck in an awake state for a long time, it also coincidentally has a stealth LOS, and rebooting will magically cause texts and voicemails to appear. Let's hope the December radio update fixes that problem.

Categories

Resources