maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Problem With battry and processor usage?? (https://talk.maemo.org/showthread.php?t=63712)

daxguy 2010-10-12 07:20

Problem With battry and processor usage??
 
I am using n900 and i just got into this problem recently.. my battry drains out really really fast.. it suddenly started doing this.. i have this cpu mem applet which shows the cpu usage stats.. the cpu bar normally is high.. or red as there is some application running at the background.. how can i know which app is running in the background.. i tried figuring out but it didnt help.. i couldnt find anything.. can anyone help with this.. can i stop the unwanted applications from runing sumhow?

slender 2010-10-12 07:28

Re: Problem With battry and processor usage??
 
Run x terminal and execute command
top

inuyasha0209 2010-10-12 09:26

Re: Problem With battry and processor usage??
 
i have same problem, can anyone show me how to fix? plzzz

RobbieThe1st 2010-10-12 10:03

Re: Problem With battry and processor usage??
 
install "htop". its better, you can easily sort by processor usage and see whats doing what, then kill it right there.

RolePlayGame 2010-10-12 10:23

Re: Problem With battry and processor usage??
 
kill Xorg and ohmd??
This is happening to a lot of us for a month more or less.
Uninstalled ALL, the issue still here. Something ****ed OS in some way.
Waiting to pr1.3 for reflash.

AlMehdi 2010-10-12 10:25

Re: Problem With battry and processor usage??
 
Start your X terminal and use top.

1. top
2. p (sort on cpu usage)
3. m (sort on mem usage)
4. q (quit)

i am not sure htop is that much better than top. I tried it.. long time ago. But went back to using top as it did what i needed.

AlMehdi 2010-10-12 10:28

Re: Problem With battry and processor usage??
 
Quote:

Originally Posted by RolePlayGame (Post 839107)
kill Xorg and ohmd??
This is happening to a lot of us for a month more or less.
Uninstalled ALL, the issue still here. Something ****ed OS in some way.
Waiting to pr1.3 for reflash.

What have you smoked? He probably just installed an unstable software. So if he finds which one.. he just need to uninstall it.

My n900 last for 3 days (maybe longer) without charge. How long does your phones battery last?

RolePlayGame 2010-10-12 10:40

Re: Problem With battry and processor usage??
 
Quote:

Originally Posted by AlMehdi (Post 839114)
What have you smoked? He probably just installed an unstable software. So if he finds which one.. he just need to uninstall it.

My n900 last for 3 days (maybe longer) without charge. How long does your phones battery last?

First, watch your lenguage.
Second, xorg and ohmd are actually the processes consuming cpu all the time, idle or not.
Third: can you read? All appsuninstalled and cpu usage the same (high)

Megaltariak 2010-10-12 10:54

Re: Problem With battry and processor usage??
 
Xorg normally only consume cpu when the screen is on, it shouldn't drain the battery.
ohmd use 0% of cpu for me.
I don't think that the problem is the OS, an instable application do this.
Reflash should help.

RolePlayGame 2010-10-12 10:57

Re: Problem With battry and processor usage??
 
Quote:

Originally Posted by Megaltariak (Post 839142)
Xorg normally only consume cpu when the screen is on, it shouldn't drain the battery.
ohmd use 0% of cpu for me.
I don't think that the problem is the OS, an instable application do this.
Reflash should help.

You said it, "normally".

daxguy 2010-10-12 10:57

Re: Problem With battry and processor usage??
 
Quote:

Originally Posted by AlMehdi (Post 839109)
Start your X terminal and use top.

1. top
2. p (sort on cpu usage)
3. m (sort on mem usage)
4. q (quit)

i am not sure htop is that much better than top. I tried it.. long time ago. But went back to using top as it did what i needed.

I just did will this help in closing all the unwanted application or any processes that are consuming battry?

daxguy 2010-10-12 10:59

Re: Problem With battry and processor usage??
 
Quote:

Originally Posted by Megaltariak (Post 839142)
Xorg normally only consume cpu when the screen is on, it shouldn't drain the battery.
ohmd use 0% of cpu for me.
I don't think that the problem is the OS, an instable application do this.
Reflash should help.

is there no way to sumhow stop all the other processes other than the OS one to end??? i do not want to reflash my phone..

AlMehdi 2010-10-12 11:03

Re: Problem With battry and processor usage??
 
Quote:

Originally Posted by daxguy (Post 839149)
I just did will this help in closing all the unwanted application or any processes that are consuming battry?

You could copy the output here.. and we'll take a look. Remeber to sort it. You could also make a screen dump if you preferr that. Just press ctrl+shift+p simultaniously.

sdesai 2010-10-12 11:10

Re: Problem With battry and processor usage??
 
3 days? my battery barely lasts 12 hours. after 12 hours get hardly 10 % left. And for information hv nt many apps installed. Usage very minimum. also changed that swappiness to 30 by doing which ppl claimed that battery life amazingly increases. Nothing of that sort happens, eventually hv to charge my phone everyday for minimum usage as well.

AlMehdi 2010-10-12 11:18

Re: Problem With battry and processor usage??
 
Quote:

Originally Posted by sdesai (Post 839165)
3 days? my battery barely lasts 12 hours. after 12 hours get hardly 10 % left. And for information hv nt many apps installed. Usage very minimum. also changed that swappiness to 30 by doing which ppl claimed that battery life amazingly increases. Nothing of that sort happens, eventually hv to charge my phone everyday for minimum usage as well.

Then you probably have some tweaking to do. A lot can be done by overclocking but also use different configs for different situations. Like using QBW and Alarmed. Lowering the screen brightness. e.t.c.

sdesai 2010-10-12 11:29

Re: Problem With battry and processor usage??
 
Quote:

Originally Posted by AlMehdi (Post 839181)
Then you probably have some tweaking to do. A lot can be done by overclocking but also use different configs for different situations. Like using QBW and Alarmed. Lowering the screen brightness. e.t.c.

i was avoiding to overclock my phone , have done all other things from chagnging swappiness, page cluster, to keeping brightness to 2, nothing worked. Bt no where really read that if u over clock it would result in more battery.

maxximuscool 2010-10-12 11:58

Re: Problem With battry and processor usage??
 
2 Attachment(s)
I got like 100 Apps installed on mine (not including stock Nokia apps) , 95% of those are from Extra Devel.
My CPU usage is low as heck but my RAM usage is sky rocket from time to time and sometimes it dropped back to 130MB usage. My up time is over 3days and my CPU still pretty normal.

I just format my eMMC and copied back all my files then reboot. Took a screen shot to show you.

I'm even used up 22GB of my eMMC.

sdesai 2010-10-12 12:09

Re: Problem With battry and processor usage??
 
Quote:

Originally Posted by maxximuscool (Post 839210)
I got like 100 Apps installed on mine (not including stock Nokia apps) , 95% of those are from Extra Devel.
My CPU usage is low as heck but my RAM usage is sky rocket from time to time and sometimes it dropped back to 130MB usage. My up time is over 3days and my CPU still pretty normal.

I just format my eMMC and copied back all my files then reboot. Took a screen shot to show you.

I'm even used up 22GB of my eMMC.

Interesting, u get 3 days battery life with that? i have not even install half as many apps u hv put still battery life sucks. guess n900 is one mysterious device :p

AlMehdi 2010-10-12 12:47

Re: Problem With battry and processor usage??
 
Quote:

Originally Posted by sdesai (Post 839185)
i was avoiding to overclock my phone , have done all other things from chagnging swappiness, page cluster, to keeping brightness to 2, nothing worked. Bt no where really read that if u over clock it would result in more battery.

Well it does.. make a search of "under volted". Cause that is what most overclockers do.. So if you do it corrct you will have a faster devices but using less voltage. But you will need to do some testing before you find your device optimum setup.

But also how you use the device could make an impact. Like keeping the browser open when not needed will take unneccessary drainage

inuyasha0209 2010-10-13 06:37

Re: Problem With battry and processor usage??
 
Quote:

Originally Posted by AlMehdi (Post 839109)
Start your X terminal and use top.

1. top
2. p (sort on cpu usage)
3. m (sort on mem usage)
4. q (quit)

i am not sure htop is that much better than top. I tried it.. long time ago. But went back to using top as it did what i needed.

i did what you said
CPU:2.3% usr:1.7% sys:0.0% nice: 95.5%
load average:0.87 0.60 0.29
what are these numbers means?

AlMehdi 2010-10-13 07:14

Re: Problem With battry and processor usage??
 
Quote:

Originally Posted by inuyasha0209 (Post 839828)
i did what you said
CPU:2.3% usr:1.7% sys:0.0% nice: 95.5%
load average:0.87 0.60 0.29
what are these numbers means?

Could you copy the output of the processes by using the steps i said earlier? Those numbers does not indicate that you have any problems. They are quite normal.

maxximuscool 2010-10-13 07:15

Re: Problem With battry and processor usage??
 
Quote:

Originally Posted by sdesai (Post 839214)
Interesting, u get 3 days battery life with that? i have not even install half as many apps u hv put still battery life sucks. guess n900 is one mysterious device :p

I think you missed reading my post lol. My up time is not my battery duration. I got various duration from my battery depending on my usage. My longest was 36hours with average usage. Partially usage each time, no continue usage over 20 eat time.

But my usual usage i got about 24hours per charge. That almost all day online and contiuously usage and high cpu usage as well.


But I guess it is coming down to what you installed on your device. Pick the right apps and you'll be fine.

kulas 2010-10-13 07:49

Re: Problem With battry and processor usage??
 
Quote:

Originally Posted by maxximuscool (Post 839845)
I think you missed reading my post lol. My up time is not my battery duration. I got various duration from my battery depending on my usage. My longest was 36hours with average usage. Partially usage each time, no continue usage over 20 eat time.

But my usual usage i got about 24hours per charge. That almost all day online and contiuously usage and high cpu usage as well.


But I guess it is coming down to what you installed on your device. Pick the right apps and you'll be fine.

Can you summarize what you have done? like overclock configuration etc..

I have used jakimanns overclock guide and OC it to LV 250/900 but still it drains almost 6hrs normal usage(browsing, playing facebook games)

abhideva 2010-10-13 07:59

Re: Problem With battry and processor usage??
 
1 Attachment(s)
[QUOTE=AlMehdi;839842]Could you copy the output of the processes by using the steps i said earlier? Those numbers does not indicate that you have any problems. They are quite normal.[/QUOc

can u please suggest me any solution ????

AlMehdi 2010-10-13 08:07

Re: Problem With battry and processor usage??
 
[QUOTE=abhideva;839870]
Quote:

Originally Posted by AlMehdi (Post 839842)
Could you copy the output of the processes by using the steps i said earlier? Those numbers does not indicate that you have any problems. They are quite normal.[/QUOc

can u please suggest me any solution ????

Could you do it without running the browser. On that picture the browser are take a lot resources.

maxximuscool 2010-10-13 08:11

Re: Problem With battry and processor usage??
 
Quote:

Originally Posted by kulas (Post 839861)
Can you summarize what you have done? like overclock configuration etc..

I have used jakimanns overclock guide and OC it to LV 250/900 but still it drains almost 6hrs normal usage(browsing, playing facebook games)

I didn't do much to it other than simple transitions modification and swappiness to 25.

Other than that is just stock kernel. If you know which apps are stable then your device won't be unstable.

AlMehdi 2010-10-13 08:14

Re: Problem With battry and processor usage??
 
And try this command
ps aux | sort -rk 3 > /home/user/MyDocs/psaux-abhideva.txt

Also PowerTop could help.
1. sudo gainroot
2. apt-get update
3. apt-get install powertop
4. restart
5. open only x-terminal
6. sudo gainroot
7. powertop > /home/user/MyDocs/ptop-abhideva.txt
8. close the screen and wait one minute
9. attach the textfile

abhideva 2010-10-13 08:15

Re: Problem With battry and processor usage??
 
[QUOTE=AlMehdi;839875]
Quote:

Originally Posted by abhideva (Post 839870)

Could you do it without running the browser. On that picture the browser are take a lot resources.

Attachment 14644 here's the screenshot

kulas 2010-10-13 08:18

Re: Problem With battry and processor usage??
 
Quote:

Originally Posted by maxximuscool (Post 839882)
I didn't do much to it other than simple transitions modification and swappiness to 25.

Other than that is just stock kernel. If you know which apps are stable then your device won't be unstable.

how can i modify the swappiness? what application should I install?

AlMehdi 2010-10-13 08:24

Re: Problem With battry and processor usage??
 
[QUOTE=abhideva;839889]
Quote:

Originally Posted by AlMehdi (Post 839875)

Attachment 14644 here's the screenshot

Could you do it again? That attachment wasn't valid.

maxximuscool 2010-10-13 08:32

Re: Problem With battry and processor usage??
 
3 Attachment(s)
[QUOTE=abhideva;839870]
Quote:

Originally Posted by AlMehdi (Post 839842)
Could you copy the output of the processes by using the steps i said earlier? Those numbers does not indicate that you have any problems. They are quite normal.[/QUOc

can u please suggest me any solution ????

Look at my screenshots. My device running perfectly normal and this is how our device should be.

maxximuscool 2010-10-13 08:37

Re: Problem With battry and processor usage??
 
Quote:

Originally Posted by kulas (Post 839890)
how can i modify the swappiness? what application should I install?

Click my signature to: FM transmitter unlocked...
Then go to page 1, post 3. Download the zip file and place it accordingly. Then your device will change it's swappiness to 50. Edit the file and change it to 20 if you want.

abhideva 2010-10-13 08:46

Re: Problem With battry and processor usage??
 
1 Attachment(s)
[QUOTE=AlMehdi;839893]
Quote:

Originally Posted by abhideva (Post 839889)

Could you do it again? That attachment wasn't valid.

Attachment 14649 even if i close the browser , it's showing as if i kept the browser open ..

AlMehdi 2010-10-13 08:54

Re: Problem With battry and processor usage??
 
[QUOTE=abhideva;839911]
Quote:

Originally Posted by AlMehdi (Post 839893)

Attachment 14649 even if i close the browser , it's showing as if i kept the browser open ..

Actually it does not. Although browserd are still running in the background. It does that. It takes little more cpu than normal but it could be to it's cooling down.

Could you do the other things i proposed.. the powertop thing?

maxximuscool 2010-10-13 08:59

Re: Problem With battry and processor usage??
 
[QUOTE=abhideva;839911]
Quote:

Originally Posted by AlMehdi (Post 839893)

Attachment 14649 even if i close the browser , it's showing as if i kept the browser open ..

I see your problem here.
You should uninstall that cpu applet and exit out of that other thing in your status bar. let me guess Messenger?

Those two things killed battery life and spike the cpu usage. Browser processes also including sms, email as well.

AlMehdi 2010-10-13 09:08

Re: Problem With battry and processor usage??
 
Quote:

Originally Posted by maxximuscool (Post 839921)

I see your problem here.
You should uninstall that cpu applet and exit out of that other thing in your status bar. let me guess Messenger?

Those two things killed battery life and spike the cpu usage. Browser processes also including sms, email as well.

No, cpumem-applet does not use a lot of cpu and does not lead to any extensive battery drainage. So he could keep it.

IM's on the other hand should only be used when needed.

maxximuscool 2010-10-13 09:58

Re: Problem With battry and processor usage??
 
Quote:

Originally Posted by AlMehdi (Post 839925)
No, cpumem-applet does not use a lot of cpu and does not lead to any extensive battery drainage. So he could keep it.

IM's on the other hand should only be used when needed.

well to me i find it hogging up the cpu once in a while. I checked it and it use a bit of memory and cpu from time to time and especially after a couple of days of up time. It may be just me but i don't have any problem with my device as you can see. My cpu is doing just fine at 5%-7% when i'm opening browser and other applications at the background. See pictures for proof.

If he takes out the CPU applet to test this then he won't lose anything. He can always installing it back afterward if there is no changes.

Simple FMTX Widget = buggy

basically most of the apps from extra devel are buggy. Only trust what you tested yourself. I tested them and make note of which are stable and reflashed to install them afterward. So far so good

AlMehdi 2010-10-13 10:07

Re: Problem With battry and processor usage??
 
Quote:

Originally Posted by maxximuscool (Post 839952)
well to me i find it hogging up the cpu once in a while. I checked it and it use a bit of memory and cpu from time to time and especially after a couple of days of up time. It may be just me but i don't have any problem with my device as you can see. My cpu is doing just fine at 5%-7% when i'm opening browser and other applications at the background. See pictures for proof.

If he takes out the CPU applet to test this then he won't lose anything. He can always installing it back afterward if there is no changes.

Simple FMTX Widget = buggy

basically most of the apps from extra devel are buggy. Only trust what you tested yourself. I tested them and make note of which are stable and reflashed to install them afterward. So far so good

Well i have also looked it up.. didn't find anything. My battery last about 3 days.

Simple FMTX Widget, Lockdeamon and Flashlight-extra on the otherhand seams to use a lot of cpu. So there i should be cautious. A Simple FMTX Widget could be done pretty simple with QBW which are nicer to the battery.

Edit: How did you find out that cpumem-applet took battery? Or are it's only an assumption? It's not running an deamon or something.. probably just reads current cpu. Which shouldn't make any big impact.


All times are GMT. The time now is 05:34.

vBulletin® Version 3.8.8