![]() |
[HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
I have searched as I recall seeing recently a thread where someone else had the same 50% CPU Use when device is off reported through Battery Graph but I can't find the bloody thread..... As a last resort I am positing this new thread with the clue in the title, so that future searches may throw it up faster.
Please see the attached "Battery Graph snapshot; http://i208.photobucket.com/albums/b...0201112454.png Ok, so for the past week you can see constant CPU usage - not massively bothered about this, probably got some daemons and widgets constantly churning through the proc, and used to it at this point. Would be nice to resolve, but that's very much secondary. However, when you scroll to the right hand side of the graph and check out the time period between 12am and 6am this morning you see a rapid reduction in mAh, caused by having the bleeding edge WiFi drivers still running in the background - but at 4am when my phone was complaining of low battery I got up, got the charger, switched it off and plugged it in next to my bed. From the moment I switched it off, I had 50% processor usage until the moment I switched it back on..... Now that's wierd. Any comments, explanations, things to try out, or iser people out there who can explain this....? TIA..... |
Re: [HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
Try searching forums for Conky, top and tracker.
E.g., searching for "conky battery" got me 3 threads about the issue in the first page (I have large pages). I'm a bait clumsy now, I'm mobile, but search works. |
Re: [HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
also grap powertop from development repos and post output. That will give us a clear output of what is going on. Also run 'top' as root, organise by cpu and write down the process you see chewing up power the most.
Further to this what kernel are you using? We need hard info bro! |
Re: [HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
Thanks lads for the replies, although I fail to see what goodness either powertop, htop or top would be able to deliver considering the damn thing was switched off, ie; hard off, not soft off, loooong press of power button!!! I'll get the apps down and give you some more info.
@ndi, I'm like you mate, I like to keep the forums clean, but the booleans I looked for were more along the lines of "50% CPU when switched off", 50% CPU Use charging, %0% CPU use idle" etc as I know I saw a thread with that in it but I couldn't find it for the life of me. 40 minutes searching TALK is enough for anyone I would say..... Running on Titans kernel-power 46 from extras-devel, modified with the bleeding edge WiFi driver mods from lxp. top from root output: Code:
Mem: 234408K used, 11004K free, 0K shrd, 1936K buff, 76744K Code:
Nokia-N900:~# powertop |
Re: [HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
unethical I know but buuuump!
|
Re: [HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
oops, should have seen that. does it really matter if your cpu is running while charging? mine says that somtimes too. perhaps it is a bug in batterygraph...
I think a more serious damage is you frankly unbelievable 30000 wake ups a second on powertop! do you have a battery life of about 15 minutes? |
Re: [HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
I do have a relatively poor battery life - some people say that they can get 36 hours out of their phone but mine, lucky to get 24 hours to be honest.
Any ideas what could be causing it....? |
Re: [HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
I can get a full day, connected to the net all day (albeit through wifi with touches of 3G when I am outta range).
As I dont know your particular setup this could be tough however I do have a penchant for battery life extension. This is a radical approach but can you give me the powertop output from about 3 minutes after a fresh reboot? I want you to ONLY load xterm, start powertop then quickly press the screen lock key and leave it for 41 seconds. Do this with wifi disconnected and on 2G mode. The reason I ask for this is I am familiar with what the device should show when idiling with nothing. From the above PT there are some bad things a-foot. The fact your CPU never reaches C4 sleep and you have over 15000 wakeups on the I2C bus means you phone is never going to sleep. This in turn is face r*ping your battery life. Also I checked 'charging while turned off' on my phone last night and the CPU was also being used 50% so I wouldnt worry about that so much. |
Re: [HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
Nice one fella. Here's the powertop output (bearing in mind I have lots of widgets like pedometer / digital clock that are updating every n milliseconds on my desktop(s), three minutes after boot once system has settled in straight GSM without WiFi or any other tethered connections. Bleeding edge drivers are not loaded either. Standard O/C, 250Mhz lower and 1Ghz higher clock speeds on CPU. Switch to N900 for ouput, will update post in about 5 minutes...............
EDIT: Powertop output from device; Code:
Powertop 1.13.3 |
Re: [HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
After turning on the pedometer and having a 5 minute blast on Angry Birds I'm back to 22,400 wakeups and 0.8% time in C4 sleep mode.
Turning off the pedometer without a reboot inbetween returns the wakeups down to 852, with 82.8% time spent in C4 sleep for the CPU. Therefore, the unusual number of wakeups is down to the pedometer. I'll leave it off for a while and see what happens to the battery life. Thanks for the info on the 50% CPU use when charging vi_, nice one :D |
Re: [HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
I don't have high CPU while charging. I'm leaning towards a daemon.
Also, pedometer, if it's the one counting steps, is running a loop and monitoring accelero several times a second. That can't be good. If you need to kill stuff, ps from terminal gets you processes and kill kills them. Killall is better. Frankly, you should not be there. Killing a drain is last resort. It shouldn't be there in the first place. Also, yes, TMO search vacuums. I have used Google on many occasions. |
Re: [HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
I don't have high CPU usage whilst charging and the device is ON, but it's one of the very times that I have switched it OFF and charged it, and hence noticing this 50% use scenario. Thanks for the info on killall and ps, I'll give them a shot but currently am monitoring battery without the pedometer switched on.
TMO search vacuums. I like it! |
Re: [HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
I had similar problem some time ago - this is what worked for me:
1) reflashing to clean 1.3 2) Installing apps I need one at the time and monitoring battery life and cpu after each new app. This way I managed to optimize my battery life to 5 days (I do not use wifi and 3g, and I have only 2 desktops enabled with minimum of widgets I use). |
Re: [HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
Some months ago, there was a discussion thread about a bug in Hildon-Desktop causing high CPU usage:
http://talk.maemo.org/showthread.php?t=54462 As far as I understood, to use certain programs triggered this bug, which caused a constant CPU usage by some sub-process in the hildon desktop. It seems that this bug is still present in 1.3. One of the programs which triggered this bug seems to be Catorize (http://maemo.org/downloads/product/Maemo5/catorise/) Should have have Catorize installed, you might check whether the CPU usage becomes normal after rebooting, while not launching any application over the application menu. I had this problem of ~10% CPU during idle, deinstalling Catorize and rebooting solved the issue for me. |
Re: [HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
No, no catorize on mine mate, but thanks for the heads up. The process that continually chews my CPU is hildon-home, not hildon-desktop, but that may well be linked to the pedometer mentioned earlier.
Monitoring battery life currently with pedometer switched off, see what happens, I'll report back if that was the case. |
Re: [HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
@Switch_ didn't you say you had 50% CPU while N900 is hard off? This is ridiculous, when phone is OFF nothing is running, no CPU. I assume your Battery Graph is simply showing nonsense. How would Battery Graph know what is going on in CPU when system is OFF?
If your battery drains while phone is off, either the phone hardware has a hard failure (N900 -> Nokia Service) or the battery is dead (easy to replace). |
Re: [HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
@rm53, Yes mate, 50% use shown in Batterygraph when phone is HARD OFF.... I was gobsmacked by it myself, hence the initial reason for the post. Guess it may simply be a bug in batterygraph, as vi_ reported the same from his system......
|
Re: [HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
Nothing runs when phone is hard off, not the OS not batterygraph.
My guess is that either a) Batterygraph has no data so it draws the last known value for the off period (likely) b) You didn't off it. To exclude b) just power it off, count to 20 and hold the power button for a little while. You should see the white LED fading in. DO NOT LET IT FINISH. This is just to make sure it's off, because after it appears off it still does stuff for a few seconds and pulling battery can corrupt root. Once you know it's off, pull the battery. See how that shows after a while. Note, however, that the phone is NOT off if it has power via USB, be it charging or connected to a PC or whatever. It boots to a minimal stage, where daemons like BME start but no user login (IIRC). If it is charging and "off" then the CPU might as well be at 50% for what I know but it's likely that in that stage data about load is not available. Also, IIRC the Catorize bug was fixed? It had to do with the fact that the menu always scrolled in the original. Once Catorize or any folder thing kicked in and there was no scrolling, the code that did the elastic band thing never finished, bouncing one pixel forever and eating CPU. That can be fixed by either using ApMeFo to make folders (but no to few) or not scrolling (which is hard) or killing the Hildon thing. I do distinctly remember them fixing that in 1.3 - I no longer have the bug. I use ApMeFo for 10 folders or so with zero issues. Anyhow, back to the point. There is no CPU when phone is off. Also, please use either batterygraph or the commandline to see voltage of battery when charged completely. (x-term command is "lshal | grep battery"). You might have a feeble battery, as suggested. Oh, and, get cpumem-applet. It offers insight on CPU load all the time. Once it seems to not go down, use top or conky to see the troublemaker. Also, how many images, videos, sounds do you have? A bad/lot of media can have the tracker track for hours. |
Re: [HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
Quote:
Quote:
Quote:
Quote:
Quote:
Thanks for all the replies lads :D |
Re: [HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
Well, Conky is more unstable than cpumem for some reason. e.g., I have seen Conky report 20% load while cpuem said 100 and since it was running apt--
Sorry, Fennec interpreted a space as send. Where was I? Ah, Conky isn't the most reliable out there. If cpumem says it's cool, it's cool. Let us know how lshal claims the battery has been (ab) used and see how it's faring. Frankly, locking the CPU at 50% should give you about 2 hours autonomy (or so) and warm the device. If you don't see cpumem show you 50%, it's probably an artifact from batterygraph or another program that gets tricked like Conky. From experience, background CPU is noticeable. Leaving MC do a copy over wifi depleted my battery in 1.5 hours (wasn't full). Now, the CPU was not 50%, granted, but it's not like load is a direct indication of consumption. I overclock as a matter of life and I know this to be true. So, AFAICT, your CPU is not locked to 50%. Besides, it's reasonably hard to lock a single core to 50%. How much do you get out of your battery, full to empty, on light and heavy usage? (light: say 20 minutes call, 1 hour browse via wifi, 2/5 backlight, 2G, plus a little fiddle). Also, if you charge at night to 95+, how much is left in the morning? My 8 hour standby eats between 10 and 15% (connected to wifi via WPA, BT, 3G). |
Re: [HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
Ok, ran a full charge last night (which took forever compared to normal btw) and the phone was still showing FULL BATTERY this morning after being disconnected from the wall at 2200 last night.
The results from lshal | grep battery are as follows: Code:
battery.charge_level.capacity_state = 'full' (string) |
Re: [HELP] 50% CPU Use When "Off", Constant CPU Use ~10%
Allright, seems fine. Let's see how it fares today. Please report back with another lshal output and aproximate usage.
|
All times are GMT. The time now is 18:06. |
vBulletin® Version 3.8.8