maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Help me find the cause for an extreme battery drainage :) (https://talk.maemo.org/showthread.php?t=65965)

vaporeso 2010-12-03 17:24

Re: Help me find the cause for an extreme battery drainage :)
 
i think i have a help for you my friend.
I had exactly the same issue, high idle cpu usage, at first i started deleting everything that was recomended (cpumem, flashlight extra etc), then installed power top and started monitoring the process, took a little to really understand the info (im no programer neither a linux user till now).
then i noticed that the phone was waking too much from sleep, about 1500 times as per power top, the most active process was the core with nohz process as i investigated a little ive learned that this was only closing application that were opened and did not clos alone when idle, so the problem was something else that was opening.
the next suspect was the mmcqd process, almost 60 times in 30 seconds, again i started looking and mmcqd was being used as kind of a back up due to a delay on the proccesing of data from the memory card (not still sure about this part, but i found reports of thsi kind of behaviour on n800 also). So i unplugged the microsd, voila almost tottaly flat for 9 hours, wakeups went to 600 on powertop and average time in idle per process is now about 2 sec (it was like 0,6 before).
the funny thing is that i only have music on the microsd, not a even on link to data needed by any other process on the phone. Ill start checking if this problem is from a defective microsd or is due to a problem with some kind of data traker (could be a tracker for music or general data, but again i have only music on the microsd) from linux (hope is the first one because i have no chance of fixing the second one).
Soooooooo fo make it easy UNPLUG THE MICROSD CARD AND ITS FIXED!
Kind of good and kind of bad, i really like to have 14gb more of musci on the phone.
hope this helps you!

slender 2010-12-03 17:27

Re: Help me find the cause for an extreme battery drainage :)
 
vaporeso,
Thank you for your informative message but I would recommend you to first read trough this thread and see that removing microsd was one of first things recommended and also issue is not high cpu usage.

efekt 2010-12-04 12:24

Re: Help me find the cause for an extreme battery drainage :)
 
Thanks vaporeso, but as slender already mentioned - I've thought about it loooong time ago, and removing the microSD card didn't help at all... Thanks for trying to help though :o

PMaff 2010-12-08 15:54

Re: Help me find the cause for an extreme battery drainage :)
 
Quote:

Originally Posted by efekt (Post 881031)
I tried uninstalling Catorise, and reinstalling hildon-desktop - both did not help...


You are forgiven, son ;)


Well, as I mentioned - that powertool dump has probably caught the moment when my CPU raised and started sipping on my battery. Here's another dump with a more 'subtle' behavior:

Code:

Powertop 1.13.3
status: Unknown job: pmtrackerdaemon
Sleeping for 11 seconds before sampling
Collecting data for 30 seconds
Sample interval was 00m 30s 31769us

C#      | Ratio  | Avg/dura | Frequency | Ratio
--------+--------+----------+-----------+--------+
    C0 |  3.9% |          |  600 MHz |  1.3% |
    C1 |  2.3% |    2.4ms |  550 MHz |  0.0% |
    C2 |  65.3% |  21.0ms |  500 MHz |  3.6% |
    C3 |  15.2% |  120.5ms |  250 MHz |  95.1% |
    C4 |  13.3% |  666.6ms |

IRQ#    | Activity  | Type          | Name
--------+------------+----------------+---------------------------
    61 |        929 |          INTC | i2c_omap
    37 |        897 |          INTC | gp
    11 |        709 |          INTC | prcm
    56 |        336 |          INTC | i2c_omap
    57 |        190 |          INTC | i2c_omap
    86 |        97 |          INTC | mmc1


I wonder why i2c_omap does have so much activity.

A few guesses:
When googling I found that this has something to do with
/media/mmc*
and therefore MicroSD card.

I read that you took out your MicroSD card but did you keep it out of the device and did you try flashing it without MicroSD?

On some other place I read a connection to "LCD Backlight:" but I
am not a N900 hardware expert.

Googling I also found these threads:
http://maemo.org/community/maemo-use...944d929d029d02

http://pastebin.com/XJQDNcqx

http://discussions.europe.nokia.com/...wer_management


Maybe also interesting for you if you did not find this already:
http://wiki.maemo.org/N900_Software_Power_management

GaryHT627 2010-12-08 18:52

Re: Help me find the cause for an extreme battery drainage :)
 
I had a similar problem and kept removing all the programs/widgets/etc. with any hint of a battery drain connection but I would still drain a full battery in about 4/5 hours when off WiFi, even if it was in my pocket the entire time. What finally fixed it was deactivating my SipGate account. I have not yet tried to reactivate it with different settings to see if it is possible to use this without a pocket full of batteries, but for now my battery life is very good.

efekt 2010-12-08 22:14

Re: Help me find the cause for an extreme battery drainage :)
 
Quote:

Originally Posted by PMaff (Post 892366)
I wonder why i2c_omap does have so much activity.

A few guesses:
When googling I found that this has something to do with
/media/mmc*
and therefore MicroSD card.

I read that you took out your MicroSD card but did you keep it out of the device and did you try flashing it without MicroSD?

On some other place I read a connection to "LCD Backlight:" but I
am not a N900 hardware expert.

Googling I also found these threads:
http://maemo.org/community/maemo-use...944d929d029d02

http://pastebin.com/XJQDNcqx

http://discussions.europe.nokia.com/...wer_management


Maybe also interesting for you if you did not find this already:
http://wiki.maemo.org/N900_Software_Power_management

Why would it make a difference if I reflash my device with or without the microSD card inserted? For the record, it was inserted while I reflashed...
And of course I tried leaving it out of the device for long, it didn't help either :)

Quote:

Originally Posted by GaryHT627 (Post 892493)
I had a similar problem and kept removing all the programs/widgets/etc. with any hint of a battery drain connection but I would still drain a full battery in about 4/5 hours when off WiFi, even if it was in my pocket the entire time. What finally fixed it was deactivating my SipGate account. I have not yet tried to reactivate it with different settings to see if it is possible to use this without a pocket full of batteries, but for now my battery life is very good.

Thanks but I don't have any SIP accounts defined :o

PMaff 2010-12-11 12:57

Re: Help me find the cause for an extreme battery drainage :)
 
Quote:

Originally Posted by efekt (Post 892730)
Why would it make a difference if I reflash my device with or without the microSD card inserted? For the record, it was inserted while I reflashed...
And of course I tried leaving it out of the device for long, it didn't help either :)

It was just a guess from what I have read.

I would try and keep it out of the N900 during reflash (reflashing all) with 1.3 .

Then I would wait quite a long time and check everything before I insert this microSD card again.

It's just what I would do in your case.
;-)
If the N900 still has battery drainage without microSD then I would know that there is a certain possibility, that the microSD card is not the root cause.

efekt 2010-12-11 15:35

Re: Help me find the cause for an extreme battery drainage :)
 
Well that microSD card is long gone from my device and I don't use it anymore, but maybe I'll try your suggestion to reflash my firmware without the microSD being inside it - worth a shot... :)

PMaff 2011-01-02 14:47

Re: Help me find the cause for an extreme battery drainage :)
 
Quote:

Originally Posted by efekt (Post 894696)
Well that microSD card is long gone from my device and I don't use it anymore, but maybe I'll try your suggestion to reflash my firmware without the microSD being inside it - worth a shot... :)

Did you find time to try it?

efekt 2011-01-02 17:00

Re: Help me find the cause for an extreme battery drainage :)
 
Ah yea, sorry for not updating the thread.
Flashing without the microSD card didn't help :o

BUT! I conducted a little experiment - I switched my battery with my brother's girlfriend battery (she has a Nokia 5800) for a couple of hours, and waited BatteryGraph to log at least two hours of usage with that battery, and even though her battery was almost drained - look at that:

http://img687.imageshack.us/img687/7...1010218520.png

(Surrounded with a red box)
This led me to believe that my batteries are busted (maybe because of the excessive use of a stand-alone battery charger?), so I bought a new battery from EBay and it should arrive to me in this week or the next... I will update this thread as soon as I'll get it and use it for a while :)

PMaff 2011-01-04 12:32

Re: Help me find the cause for an extreme battery drainage :)
 
Quote:

Originally Posted by efekt (Post 909881)
...This led me to believe that my batteries are busted (maybe because of the excessive use of a stand-alone battery charger?)...

If this is the solution, I would be interested to know which stand-alone battery charger you used...to avoid the same problem.
;-)

I am looking for such a stand-alone battery charger but there seems to be none from Nokia. :-/

efekt 2011-01-04 19:02

Re: Help me find the cause for an extreme battery drainage :)
 
This is the charger:

http://img816.imageshack.us/img816/1977/20110104003.jpg

http://img407.imageshack.us/img407/8939/20110104004.jpg

You connect it to the wall by plugging into it a Nokia AC-3E (or similar) wall charger, and it has a led indicator which indicates if the battery is charging or fully charged.

illemann 2011-01-24 07:08

battery drainage during unit off-time:)
 
1 Attachment(s)
hi folks,

does anyone know why my n900 is using battery when turned off? My batteryGraph show a cpu load when the unit has been off...

Wondering what process got hickups or why the unit is half on when i turned it off -even though i know that its a software shut down...., which leaves me in the hand of a softaware engineer :)


thanks for any advice

Sorry for the picture.... if needed i have it :)

ymartin59 2011-01-24 08:22

Re: Help me find the cause for an extreme battery drainage :)
 
Other users were in trouble with a scratchy/old SIM card. Have you try to let the device in offline mode for one night ?
If it is a network trouble (SIM or IM...), your CPU should completely sleep in offline mode.
Have you restored the stock kernel already (check with uname -a) ?

efekt 2011-01-25 16:11

Re: Help me find the cause for an extreme battery drainage :)
 
@illemann - I think we'll have to see the bigger image, I myself can't understand anything from it... :)
Anyways - its good that you upped the thread again, as I completely forgot to update it, so here goes:

As I wrote earlier, I bought a brand new original BL-5J battery and put it in my N900, right from the package and without even recharging it, and let it run idle for a while. This is what BatteryGraph recorded from that event:

http://img692.imageshack.us/img692/6...1011711565.png

As you can see - it behaved quite fine and the battery could've last for more than a day this way... That is, until I decided to recharge the battery (with my phone) - this is how it looked afterwards:

http://img141.imageshack.us/i/screen...011711570.png/http://img141.imageshack.us/img141/4...1011711570.png

So it seems that my battery empties "as normal" (e.g - in 7 hours), so the problem is most probably in my phone, though I have no idea what is causing this, AGAIN :)
Something more interesting - I noticed that when my battery gets completely drained so my phone is turned off, if I try to plug it into the charger, the led immediately lights in green (which means "battery full") and the phone won't charge it.
This should not happen, but maybe it has something to do with my initial problem...

JamesBond@ge 2011-01-27 20:00

Re: Help me find the cause for an extreme battery drainage :)
 
Quote:

Originally Posted by slender (Post 879931)
Do you have devel repository enabled?

Does this affect the performance of the phones CPU?

illemann 2011-02-06 09:53

Re: Help me find the cause for an extreme battery drainage :)
 
1 Attachment(s)
hi efekt,

thanx for your answer
your problem seems more of a warranty (hardware) issue :(. In my case theres some processes (one or more..) going on. Of course, in my case battery graph is on, and the clock has to show the right time, i know that the alarm goes of even though the phone is "off". But that means that i'll never be able to shut it off to save battery :(... with many other phone makers the phone wont even ring the alarm when of, i dont know which i prefer.... any thoughts out there

Now i made a screenshot with the nokia instead of using the batterygraph screenshot which gives you a non seing tiny screenshot....

thx for reading :)

efekt 2011-02-06 11:18

Re: Help me find the cause for an extreme battery drainage :)
 
Quote:

Originally Posted by illemann (Post 937284)

This just looks... wrong. It rather looks like a bug in BatteryGraph, and not necessarily depicting any real occurrences.
I don't think the CPU would work this way, for such a prolonged period...
What happens if you leave the phone connected to the charger during the night?

geneven 2011-02-06 12:13

Re: Help me find the cause for an extreme battery drainage :)
 
Quote:

Originally Posted by efekt (Post 909881)
This led me to believe that my batteries are busted (maybe because of the excessive use of a stand-alone battery charger?),

I don't think such excessive use is possible. I've been using such chargers with Noka tablets for years without problems. It's very unusual for me to charge my N900 any other way.

efekt 2011-02-06 16:47

Re: Help me find the cause for an extreme battery drainage :)
 
Yea, I came to realize that the external charger is most probably not the cause for this bizarre battery behavior... This is definitely a mystery for me, and my battery will probably continue to drain this way until I'll replace my device to a new one in the near future... :)

illemann 2011-02-06 17:27

Re: Help me find the cause for an extreme battery drainage :)
 
hmm. good idea, ill have a go on that... i know that this doesnt happen every night. So i have been considering that it could be some process from another program.

JK0d3r 2011-10-04 10:45

Re: Help me find the cause for an extreme battery drainage :)
 
I was having the same issue on my N900.
After reading the forum, and using powertop i have discovered that after removing the Foreca widget i have a completly new status:

BEFORE:
Total wakeups 3559, 118.6/s | IRQ 3410, 113.7/s | Timers 149, 5.0/s
HW wakeups 23, 0.8/s | Real gp_timers expired 83, 2.8/s


AFTER
Total wakeups 522, 17.4/s | IRQ 422, 14.1/s | Timers 100, 3.3/s
HW wakeups 44, 1.5/s | Real gp_timers expired 52, 1.7/s

Nothing else i have removed.
I need to mention that i am using Maemo CSSU ( community edition )
Hope it helps others


All times are GMT. The time now is 04:57.

vBulletin® Version 3.8.8