maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   N900 battery life questions, issues, scenarios (https://talk.maemo.org/showthread.php?t=31020)

hece35 2010-01-27 20:37

Re: N900 battery life questions, issues, scenarios
 
Quote:

Originally Posted by liedekef (Post 497701)
To add a bit to the confusion, I found out that the percentage reported by lshal sometimes goes up again! I'm using the desktop command execution widget to see my battery percentage and at a cetrain moment it was 18%. Then I refreshed half an hour later or so and it was at 25%! Again 2 hours later of almost no usage at all, it went down to 20%.
So maybe the kernel battery measurement is a bit off?

I've seen this too. What I understand it relates on how the battery behaves under heavy load and how it recovers after idling some time. So maybe it's not a bug but rather a feature and maybe it can not be avoided with the way battery capacity is measured right now.

woodyear99 2010-01-27 20:45

Re: N900 battery life questions, issues, scenarios
 
Been seeing this in daily use. Haze/pidgin/Butterfly have terrible battery life, using jabber with transports effectively doubles battery life in my experience anyway...

jkq 2010-01-27 20:50

Re: N900 battery life questions, issues, scenarios
 
Quote:

Originally Posted by woodyear99 (Post 498222)
Been seeing this in daily use. Haze/pidgin/Butterfly have terrible battery life, using jabber with transports effectively doubles battery life in my experience anyway...

I've noticed that too. The last time I tried experimenting, Google Talk wasn't too bad. I think it ate around 3% of my battery in ~8 hours when I left it off the charger one night.

Is there a quick how-to on setting jabber up with AIM/MSN?

-jkq

woodyear99 2010-01-27 20:58

Re: N900 battery life questions, issues, scenarios
 
It's pretty easy, had to test a few different servers/transports to see which was the most reliable for me (my 2g gprs is a bit unreliable) I noticed some odd behaviour on certain servers such as the N900 showing me as online even though others do not see my logged in and I would not be able to send IMs. I guess the server would timeout but the N900 would not get updated...

http://www.bigblueball.com/forums/ge...msn-yahoo.html
Follow these instructions here once you create an account you need to select service discovery in PSI and it will list all the transports (msn, aim, yahoo) etc. just enter your password and login info for the service and it will populate your contact list. After that you just need to login with ur jabber ID on ur N900. One thing to note, it seems for msn anyway that some servers will pull every single contact you ever had and ask u to authorize each. It is a bit annoying, oddly enough after testing a few servers I found some that populate your list nicely just as you have it on ur desktop with groups and all...

A listing of all the servers is located here....
http://www.jabberes.org/servers/

egoshin 2010-01-27 21:13

Re: N900 battery life questions, issues, scenarios
 
Quote:

Originally Posted by luqman (Post 497657)
BATTERY DOESNOT RUN OUT BECAUSE 3G OR 2G IS TURNED ON, BUT BECAUSE PROGRAMS LIKE SKYPE AND GTALK USE IT CONTINOUSLY TO SEND OUT KEEPALIVE MESSAGES...NOTE: I DIDNT USE SKYPE OR GTALK YESTERDAY, THE PACKETS I SAW WERE JUST CONSTANT KEEPALIVE MESSAGE...CONTINOUSLY EATING MY BATTERY JUST TO TELL GTALK AND SKYPE THAT IM ONLINE

Can you switch manually to 2G and repeat test with skype + gtalk ON?

To switch manually to 2G only you can disconnect from 3G, go to Settings/Phone and select "Network Mode" as 2G only. (You should disconnect from cell network first or N900 doesn't allow you to switch). There is an alternative variant - application "3G2G switcher" but the native one is a more pure experiment.

les_garten 2010-01-27 22:06

Re: N900 battery life questions, issues, scenarios
 
Quote:

Originally Posted by hece35 (Post 498175)
3G + MSN/ICQ over Jabber: 30 mA -> ~ 40h.

That's more like it, by using jabber to connect to MSN & ICQ I get 4 times the battery lifetime compared to MSN-Haze plugin :) Very nice.


That's right, my data supports this too. I have yet to analyze jabber but a friend did analyze some desktop version which only sent 1 packet per minute.

If you run hal-device bme where is how much ma the battery is using? I don't see it.

Cernunnos 2010-01-27 22:16

Re: N900 battery life questions, issues, scenarios
 
Really depends on how much you use it. Games and emulators EAT battery life. But norrmal use, with IM accounts off. Facebook, foreca widgets on + shortcuts etc. 3g/wifi always on (search interval 30 mins) email search interval 4 hours. It usually lasts about 30 hours with a few phonecalls, about 50/60 sms'es, and a little bit of surfing.

hece35 2010-01-28 06:30

Re: N900 battery life questions, issues, scenarios
 
Quote:

Originally Posted by les_garten (Post 498390)
If you run hal-device bme where is how much ma the battery is using? I don't see it.

Nowhere. I log the mAh number (battery.reporting.current) and after night (say 8 hours) I calculated the difference (let's say 1200mAh-800mAh=400 mAh). Then I divide the difference by the time e.g. 400mAh/8h -> 50mA. That's average current for the past 8 hours. And since I did nothing else (except slept :D), it tells pretty well the idling current for the given scenario.

rmerren 2010-01-28 06:59

Re: N900 battery life questions, issues, scenarios
 
I have been having a similar situation--battery draining quickly over the course of the day. This morning I removed Firefox and Conversations widget (uninstalled both and rebooted) following some messages here. It didn't make any difference.

I wrote a script to record the battery percentage from lshal every 15 minutes. Two interesting things:
  • The percentage shown did not seem to always gel with the battery indicator in the upper status bar. For example it went all the way down to 0 and stayed there while the battery indicator moved into the green again during charging
  • The percentage seemed to (usually, but not always) drop steadily--about 1-2 percent every 15 minutes.
The second point was really what I was looking for, by the way...I thought that I was seeing a fast drain at particular times, but my logging script didn't bear this out. But the first point was actually more interesting.

In any case, I determined that removing Coversations and Firefox did not resolve the problem.

Now, following some more recent posts, I have disabled google talk and skype. I have also removed (but not uninstalled) the facebook and RSS widgets. (The RSS widget seems to update itself regularly even though I have set it not to do so.) If I get more than about 8 hours tomorrow, I'll see if I can winnow down any specific culprits.

Thanks to all the other posters for (hopefully) pointing me in the right direction.

P.S. Just imagine...I could be on an iphone and not have these problems--because I couldn't run widgets, have no access to the batteries, can only install apps as allowed, and would have no ability to run scripts to record any info. But I would have fart apps!

HRZ 2010-01-28 08:16

Re: N900 battery life questions, issues, scenarios
 
Quote:

Originally Posted by woodyear99 (Post 498253)
It's pretty easy, had to test a few different servers/transports to see which was the most reliable for me (my 2g gprs is a bit unreliable) I noticed some odd behaviour on certain servers such as the N900 showing me as online even though others do not see my logged in and I would not be able to send IMs. I guess the server would timeout but the N900 would not get updated...

http://www.bigblueball.com/forums/ge...msn-yahoo.html
Follow these instructions here once you create an account you need to select service discovery in PSI and it will list all the transports (msn, aim, yahoo) etc. just enter your password and login info for the service and it will populate your contact list. After that you just need to login with ur jabber ID on ur N900. One thing to note, it seems for msn anyway that some servers will pull every single contact you ever had and ask u to authorize each. It is a bit annoying, oddly enough after testing a few servers I found some that populate your list nicely just as you have it on ur desktop with groups and all...

A listing of all the servers is located here....
http://www.jabberes.org/servers/

Hey, I've done this and logged into the transport but my contact lists are not loading up at all. I logged into the jabber id on n900 as well and no contact list there either...how do i manually tell it to populate my contact lists?
thanks

luqman 2010-01-28 11:00

Re: N900 battery life questions, issues, scenarios
 
Quote:

Originally Posted by rmerren (Post 498946)

P.S. Just imagine...I could be on an iphone and not have these problems--because I couldn't run widgets, have no access to the batteries, can only install apps as allowed, and would have no ability to run scripts to record any info. But I would have fart apps!

you are right. the iphone battery life is a farce..my wife has an iphone and the only way u can use IMs like skype is by turning them on when you need it and shutting it down after that. you can't have it running in the background(at least as far as I know)......ANY phone could do that!!!!....
the n900 actually runs all these applications continously in the background...

toto29820 2010-01-28 19:48

Re: N900 battery life questions, issues, scenarios
 
i have been experiencing disappointing battery life recently, lasts about 24 hrs on average since last fw update. definitely worse than before the update.

cardiff-blues 2010-01-28 19:59

Re: N900 battery life questions, issues, scenarios
 
For me personally I don't want to degrade performance of my N900 by tweaking a few things here and switching a few apps off when not in use.

The whole point of this phone is that it can do some cool stuff and that it's like a computer in your pocket. It's no fun having to be so very conservative with use so that the battery gets through the day.

I bought this phone to use it and whilst I am 'not over the moon' with the battery performance I don't want to carry it around with almost everything switched off. I want to be able to browse the web whenever I want and to play some games when I'm stuck in a queue and listen to music or watch a film or read a book without having to worry.

THE SOLUTION TO POOR BATTERY PERFORMANCE:

Well for me it was to buy 3 spare batteries and a desktop charger. The batteries costs me about a fiver and seem to be great value and it means now that when I go long haul in a few weeks, that I'll be able to read, listen to music and watch films on my N900 without worrying about the battery.

mele 2010-01-29 10:46

Re: N900 battery life questions, issues, scenarios
 
Hi!

Does anyone knows what is this procsess where its relates omap2_mcspi?

Its eats my battery very fast, i could get rid of it only by booting n900.

jasallis3 2010-01-29 10:56

Re: N900 battery life questions, issues, scenarios
 
Stupid question, where is the option to use only 2G or Edge networks?

geneven 2010-01-29 11:09

Re: N900 battery life questions, issues, scenarios
 
Yes, I also bought a desktop charger and two spare batteries, with good results. I avoid eBay and just Googled bl-5j to find the batteries. The batteries I got look identical to the Nokia battery except in price.

I found that the batteries get much easier to install after the plastic door wears a bit.

mele 2010-01-29 11:20

Re: N900 battery life questions, issues, scenarios
 
Quote:

Originally Posted by jasallis3 (Post 500690)
Stupid question, where is the option to use only 2G or Edge networks?

settings--->phone--->network

Blackbeard 2010-01-29 13:46

Re: N900 battery life questions, issues, scenarios
 
For me pulseaudio has been suspicious lately. Something was gnawing my battery but could not determine what because top showed no spesific load anywhere. Since pulseaudio was mentioned here earlier I noticed that it was there with a load of 2-3%. I run powertop and noticed that the processor spent most of the time at state C2. After killing the pulseaudio process the most common state were C3 and C4 (as supposed I think).

chewster 2010-01-29 23:26

Re: N900 battery life questions, issues, scenarios
 
Noticed some odd behavior yesterday. Battery was being drained really quickly all day. By the time I left work around 6pm, lshal reported the battery at 12%.

I left my cable at home, so couldn't charge it.

Went to see some family (media with FM transmitter on the 40 min drive) and was showing off the phone with the usual bounce, video, FM transmitter, browser, camera, video camera, etc.

Checked battery again (now 7pm ish) and I'm at 7%. Hmm.... That was only a 5% drop with quite a bit of heavy demo usage.

Left the thing in my pocket, and it started beeping at me around 9pm. Didn't check % though.

Got home around 11pm and was at 6% with FM transmitter on the way home. At this point I was already getting suspicious so I was actively trying to drain it. Did some wifi browsing on the couch, but it wouldn't die. So I left it unplugged and it died during the night some time. Charged it for an hour before work in the morning.

It's been on 3G all day, did some software updates and checked some email and I'm still at 77% at 6:30pm.

I'm thinking that in my case, the circuitry in the battery needed to find it's actual low point. If it were really at 12% yesterday after work, it should have died on the trip to my family. And it certainly should have died through the demo. Or using FM transmitter going home.

Hopefully, my good battery life will last more than just today.

adamFsmith 2010-01-29 23:29

Re: N900 battery life questions, issues, scenarios
 
Quote:

Originally Posted by jasallis3 (Post 500690)
Stupid question, where is the option to use only 2G or Edge networks?

Download the 2G/3G selection applet, streamlines the process, saves you having to dive into settings every time you want to use 3G.

les_garten 2010-01-30 01:09

Re: N900 battery life questions, issues, scenarios
 
Quote:

Originally Posted by chewster (Post 501790)
Noticed some odd behavior yesterday. Battery was being drained really quickly all day. By the time I left work around 6pm, lshal reported the battery at 12%.

I left my cable at home, so couldn't charge it.

Went to see some family (media with FM transmitter on the 40 min drive) and was showing off the phone with the usual bounce, video, FM transmitter, browser, camera, video camera, etc.

Checked battery again (now 7pm ish) and I'm at 7%. Hmm.... That was only a 5% drop with quite a bit of heavy demo usage.

Left the thing in my pocket, and it started beeping at me around 9pm. Didn't check % though.

Got home around 11pm and was at 6% with FM transmitter on the way home. At this point I was already getting suspicious so I was actively trying to drain it. Did some wifi browsing on the couch, but it wouldn't die. So I left it unplugged and it died during the night some time. Charged it for an hour before work in the morning.

It's been on 3G all day, did some software updates and checked some email and I'm still at 77% at 6:30pm.

I'm thinking that in my case, the circuitry in the battery needed to find it's actual low point. If it were really at 12% yesterday after work, it should have died on the trip to my family. And it certainly should have died through the demo. Or using FM transmitter going home.

Hopefully, my good battery life will last more than just today.

I had a Palm 680 TREO and this was a constant problem with it. We had to do a calibration procedure where you plugged in the charger, waited 1 minute, pulled the battery, waited 1 min, pulled the SIM, waited 1 in. Then put the SIM in and the Battery and let charge for 6 hours. This fixed it. The battery life would triple, at least for a while.

rmerren 2010-01-30 07:06

Re: N900 battery life questions, issues, scenarios
 
Quote:

Originally Posted by rmerren (Post 498946)
I have been having a similar situation--battery draining quickly over the course of the day. This morning I removed Firefox and Conversations widget (uninstalled both and rebooted) following some messages here. It didn't make any difference.

So a little update here:

I disabled google talk and skype and then rebooted. The battery drain seemed a little slower than before, but then I got an upgrade notice and realized that I had not uninstalled the Mozilla Runtime from the app manager. I uninstalled it, rebooted, and the battery drain seems to have slowed. I charged overnight, and unplugged the fully charged phone (green light was lit) at about 8:30am. I plugged in while in the car--but for less than 15 minutes total. I only did that because I had already hit the mid-afernoon time when it was previously bottoming out. I didn't get the low battery ding until around midnight--at least a 50% improvement in battery duration.

I am not sure why the mozilla runtime would be responsible for draining the battery. I had not even run firefox in the last few times I rebooted. Clearly it runs some background apps, though I never saw anything jump out at me in the ps output before or after removing this.

I should say that I did not take any other action to increase battery life today. I web surfed, talked, sms'ed, instant messaged, and had an email connection to my exchange server running constantly. I used the phone normally, and in the same manner I used my previous phone (AT&T Tilt).

The battery life I saw today was reasonable for a full day of phone use, and close to what I saw with the Tilt (I could go a good day and a half without recharge on the Tilt, though using an RSS reader cut that dramatically and I didn't have IM client running all day). I am actually hopeful that I will be able to use the phone without having to worry about mid-day recharging or planning around battery life.

Next steps in experimentation:
  • run a few more days with current configuration to see if results are consistent
  • reinstate skype and google talk to see if battery life changes
  • reinstate conversations widget, rss widget, and eventually, firefox to determine if those are actually the culprits.

One more note: there was apparently a service outage here in austin today, though it seems to have been cleared up before I unplugged from the charger.

nbvora13 2010-02-02 22:00

Re: N900 battery life questions, issues, scenarios
 
Quote:

Originally Posted by cardiff-blues (Post 499938)
For me personally I don't want to degrade performance of my N900 by tweaking a few things here and switching a few apps off when not in use.

The whole point of this phone is that it can do some cool stuff and that it's like a computer in your pocket. It's no fun having to be so very conservative with use so that the battery gets through the day.

I bought this phone to use it and whilst I am 'not over the moon' with the battery performance I don't want to carry it around with almost everything switched off. I want to be able to browse the web whenever I want and to play some games when I'm stuck in a queue and listen to music or watch a film or read a book without having to worry.

THE SOLUTION TO POOR BATTERY PERFORMANCE:

Well for me it was to buy 3 spare batteries and a desktop charger. The batteries costs me about a fiver and seem to be great value and it means now that when I go long haul in a few weeks, that I'll be able to read, listen to music and watch films on my N900 without worrying about the battery.

Your solution says, you got 3 spare batteries at a cost about a fiver...?? Sorry, but may I know the cost in numbers? Like $20 or so...

Thanks,
~nV!

cardiff-blues 2010-02-02 22:15

Re: N900 battery life questions, issues, scenarios
 
Yes sorry! A fiver is slang for £5 in UK terms. You can pick up one battery for that if you have a look around. By the way, I have 5 batteries now.

I don't fret about using my N900 to the max now.

colnago 2010-02-02 22:30

Re: N900 battery life questions, issues, scenarios
 
Quote:

Originally Posted by luqman (Post 497657)
...[B][I]BATTERY DOESNOT RUN OUT BECAUSE 3G OR 2G IS TURNED ON, BUT BECAUSE PROGRAMS LIKE SKYPE AND GTALK USE IT CONTINOUSLY TO SEND OUT KEEPALIVE MESSAGES...

I never thought "3G", by itself, drained the battery...since switching to the 900, my Motorola Q on AT&T 3G, with a Seidio extended battery, lasts 6-8 days between charges as it forwards calls to my 900.

After having the 900 for going on 2 months now, for whatever reason, last week, I'm getting 12-14hrs before I drop (2) battery levels (~25%?). This on:

- T-Mo 3G (which seems to be lasting longer than on AT&T 2G)
- WiFi "enabled" all day (work from home) and (3) POP3 accounts polling in 1 hour intervals
- OM Weather polling every hour

I also noticed higher drain when logged in to SIP/Skype clients. I still don't believe it will get more than 6hrs of constant "use", but its good to know that I don't have to charge it if I leave the house in the middle of the day.

geneven 2010-02-02 22:37

Re: N900 battery life questions, issues, scenarios
 
Quote:

Originally Posted by cardiff-blues (Post 507608)
Yes sorry! A fiver is slang for £5 in UK terms. You can pick up one battery for that if you have a look around. By the way, I have 5 batteries now.

I don't fret about using my N900 to the max now.

Me, too. What now worries me is that the battery door will wear out to the extent that it will start falling off the N900. I wonder if that will happen and if so how long it will take?

cardiff-blues 2010-02-02 22:38

Re: N900 battery life questions, issues, scenarios
 
Quote:

Originally Posted by geneven (Post 507641)
Me, too. What now worries me is that the battery door will wear out to the extent that it will start falling off the N900. I wonder if that will happen and if so how long it will take?

Just be careful with it and treat it like a delicate piece of equipment when taking it off and it should outlast your mobile contract.

geohsia 2010-02-03 04:19

Re: N900 battery life questions, issues, scenarios
 
I don't know if this is the right place to ask, but I'm going on a roadtrip and want to stream music through my phone, but as I drive I'll also have GPS / Google Maps going. I noticed today driving (1.5 hrs) that even though I had my phone plugged in to the official Nokia car adapter my battery still drained. On a 5+ hour road trip, will my phone be depleted at the end? Will the car charger give enough juice to keep the phone going with all that stuff on? BTW, I use TuneWiki, which is great... cuz I get to stream Shoutcast. I also have a BT headset, but its rather inconsistent as to whether or not it will connect so I think I'll opt for the wired headset if I get a call.

I'm also logged into Skype, but that is not required for the road trip so presumably I can turn that off...

les_garten 2010-02-03 04:33

Re: N900 battery life questions, issues, scenarios
 
Quote:

Originally Posted by geohsia (Post 507930)
I don't know if this is the right place to ask, but I'm going on a roadtrip and want to stream music through my phone, but as I drive I'll also have GPS / Google Maps going. I noticed today driving (1.5 hrs) that even though I had my phone plugged in to the official Nokia car adapter my battery still drained. On a 5+ hour road trip, will my phone be depleted at the end? Will the car charger give enough juice to keep the phone going with all that stuff on? BTW, I use TuneWiki, which is great... cuz I get to stream Shoutcast. I also have a BT headset, but its rather inconsistent as to whether or not it will connect so I think I'll opt for the wired headset if I get a call.

I'm also logged into Skype, but that is not required for the road trip so presumably I can turn that off...

You sure it was charging?

How many ma. does the charger supply?

geohsia 2010-02-03 04:41

Re: N900 battery life questions, issues, scenarios
 
Quote:

Originally Posted by les_garten (Post 507941)
You sure it was charging?

How many ma. does the charger supply?

http://www.nokiausa.com/find-product...accessory-dc-6

I know it was charging because it said so plus the screen was on all the time. I have the screen set to be on when charging. In the car I don't want to dork with turning the screen on and off while driving.

Standard DC-6. Don't know if this is correct but:

* Input: DC 12/24V
* Output: 5.0V/550mA

I found this after doing some quick searches. Significantly lower than the 1200 mA of the wall charger if true.

calltrace 2010-02-03 12:45

Re: N900 battery life questions, issues, scenarios
 
My phone usage : ~2h listening music (all around 192kbps VBR 75% volume) with web browsing (edge, 3G) with enabled ICQ account.
~10min calls , 5 to 10 sms, then around 6hours on wifi , checking e-mails , downloading images ,working in terminal ower ssh (replacement for netbook :) ) .., unplugged from charger at 8 mourning , went back to home at 22 o'clock with 6% of battery

I thik this is not bad - but for sure I purchase Energizer XP4000 .
It fit exactly in my back pocket and with modified cable from telephone (twisted soft cable from phone to earphone) i can use phone without limitation (little worse handling, yes)
Price is same as two original BL-5J batteryes.
It's abble to make two full charges from empty battery (I think charging non empty battery at time of hard usage will extend this because of charging effectivity)

flydeep 2010-02-04 02:44

Re: N900 battery life questions, issues, scenarios
 
How the hell do you get such usage!? I am bummed. All that I do is take my phone off charger, make few calls/sms and I need to recharge by evening!

Any tricks/tips buddy?

tlex26 2010-02-04 11:10

Re: N900 battery life questions, issues, scenarios
 
Same problem here.

Without being connected to wifi/3g and having no apps/widgets installed that use Internet connections I can't last a day.
I send/receive a max of 10 sms's a day and/or 1-3 short phone calls

I have 2 original batteries and I have this problem with both batteries.

Any tip is indeed very welcome

calltrace 2010-02-04 11:24

Re: N900 battery life questions, issues, scenarios
 
My phone cant break a day without charging too , bud this fifteen hours are enought for me (with xp4000 no problem at all :) )

I don't know how to help :)
Only switch of wireless lan scanning , firmware updated right after unpack to PR1.1 .. you might download powertop from this site and check if CPU is underclocked automaticly or if some aplication not wakeing up too much,
with all switched of (only cell phone on) cpu run at 250Mhz and in C4 state

with three pages (no flashplayer video) playng mp3s , wifi, icq on
15% at 500Mhz 85% at 250MHz 60% C3 40% C4 state
applets with using net - RSS (~10 channels) default weather

most time spend on edge connection,brithnes at 3bars ,at night at one
mail updates are for 30 minutes only if wifi connection , rss feeds updates manual ,weather update 6hours

duno what else ...

Only first time i loaded it with mp3's , movies and images there was some time unusable becasuse of indexing (around 4000mp3 ) , which take half of battery ...

zuti 2010-02-05 19:39

Who's been eating my battery?
 
Ok.

I've now been using the N900 for two months without any problems with the battery. Did some testing this past week to see how long I could keep the thing going when connected over wifi (2 days) and also when skype was running in the background (1 day).

Today after unplugging the device I noticed it was eating the battery too fast. Checked top, and saw pulseaudio using 2% of the cpu all the time (i had played a few videos and aac files before going to bed and plugging the charger in).

Well, a reboot fixed the pulseaudio problem (if i tried to kill the process, it would just start up again and eat more cpu). But now I have an even bigger problem. It seems there are a few other processes that just won't calm down, and keep waking the cpu up. At the moment the top of my top printout looks like this (all the time):

PHP Code:

  781   660 root     S <  14712  5.9  3.7 /usr/bin/Xorg -logfile /tmp/Xorg.0.log -logverbose 1 -nol
  735     1 root     S     3540  1.4  1.3 
/usr/sbin/ohmd --no-daemon 
  717   660 root     S 
<   2296  0.9  0.9 /sbin/mce --force-syslog 
30872 30856 user     R      744  0.3  0.9 top 
30840   993 user     S     9940  4.0  0.7 
/usr/bin/osso-xterm                                      
 1262   993 user     S    11188  4.5  0.1 
/usr/bin/hildon-desktop                                  
 1335   993 user     S     6648  2.7  0.1 
/usr/bin/camera-ui                                       
  679     1 root     S     3104  1.2  0.1 
/usr/sbin/bme_RX-51 
  695     1 messageb S 
<   2116  0.8  0.1 /usr/bin/dbus-daemon --system --nofork 
 1264     1 user     S     2108  0.8  0.1 
/usr/libexec/gnome-vfs-daemon 
  749     1 root     S     1816  0.7  0.1 
/usr/lib/gconf2/gconfd-

(ignore Xorg, top and osso-xterm, since those should be using the cpu)

Also powertop says that the total amount of wakeups is around 5000.

Could someone who doesn't have any problems with their battery check these: What is the "average" amount of wakeups with powertop when you leave the display on (no network connection, no programs in the background etc.) and also observe your top for maybe 10-20 seconds and tell are there any processes that are constantly taking up cpu time. I know I'm being a little paranoid about the background processes, but if my battery goes down from 48-72 hours to 12 hours, something is keeping the device up all the time.

Thank you for any hints or help.

egoshin 2010-02-05 20:33

Re: Who's been eating my battery?
 
Quote:

Originally Posted by zuti (Post 512291)
Could someone who doesn't have any problems with their battery check these: What is the "average" amount of wakeups with powertop when you leave the display on (no network connection, no programs in the background etc.)

Total wakeups 1760, 58.7s | IRQ 1231, 41.0/s | Timers 529, 17.6/s
HW wakeups 2, 0.1/s | Real gp_timers expired 189, 6.3/s

... But I have 3G connected.


Quote:

and also observe your top for maybe 10-20 seconds and tell are there any processes that are constantly taking up cpu time.
Compare with your output - you have "/usr/sbin/ohmd" running which means - a couple of programs start (ohmd is a "policy daemon" which checks application access to HW resources).
And bme_RX-51 is a Battery Management process - I think it is a consequence of battery drain.

More interesting is a combination of "mce", "camera-ui" and "gnome-vfs-daemon". gnome-vfs-daemon controls volume mount/unmount, including mSD card. MCE is a daemon which controls different buttons etc ... including magnetic switch on back cover. So - do you use mSD? Do you had chance to put in in some magnetic field? Do you expose a front side to flickering light?

Actually all that stuff may be because battery provides unstable power, for exam - due to high power consumer.

egoshin 2010-02-05 20:37

Re: N900 battery life questions, issues, scenarios
 
Additionally, I need to admit what I may also have been exposed to high battery drain. But so far I blamed it on not properly switching video circuitry (SGX) off. Or even HAM (Hildon Application Manager) which has a habit running once at the same time of day and battery going down that time. I have plan to change that time to midnight then my phone is on charger and see.

zuti 2010-02-05 21:16

Re: Who's been eating my battery?
 
Quote:

Originally Posted by egoshin (Post 512338)
Total wakeups 1760, 58.7s | IRQ 1231, 41.0/s | Timers 529, 17.6/s
HW wakeups 2, 0.1/s | Real gp_timers expired 189, 6.3/s

Wow. That is a huge difference.

Quote:

Originally Posted by egoshin (Post 512338)
Compare with your output - you have "/usr/sbin/ohmd" running which means - a couple of programs start (ohmd is a "policy daemon" which checks application access to HW resources).
And bme_RX-51 is a Battery Management process - I think it is a consequence of battery drain.

More interesting is a combination of "mce", "camera-ui" and "gnome-vfs-daemon". gnome-vfs-daemon controls volume mount/unmount, including mSD card. MCE is a daemon which controls different buttons etc ... including magnetic switch on back cover. So - do you use mSD? Do you had chance to put in in some magnetic field? Do you expose a front side to flickering light?

Actually all that stuff may be because battery provides unstable power, for exam - due to high power consumer.

I kept staring at the top results a little longer. Seems that at the moment I cut&pasted the previous list, there were a few processes that aren't usually active, camera and vfs-daemon being a few of these. The ones that are constantly active are mce, ohmd and hildon-desktop. The others pop up every now and then (10 sec interval or so). Also /sbin/init keeps jumping to the top list quite frequently, is this normal? Camera-ui appears to be activated for a second when you slide open the keyboard.

But no, no mSD, no flickering lights. I'm not quite sure what you mean about the magnetic field, though.

But basically all I did was reboot the device before this started. It had been on for 9 days, during which I don't recall installing anything special except for Shortcutd (which I had already uninstalled). I guess there is always the option of reflashing, but that doesn't really solve the mystery :)

Here is a link to my powertop readings when the device is unlocked.

edit: It seems powertop is a little inconsistent. Just noticed that there are over 200 hw wakeups in the above list. Did another test earlier, which only had 5 HW wakeups (about the same amount of total wakeups, though).

egoshin 2010-02-06 00:58

Re: Who's been eating my battery?
 
Quote:

Originally Posted by zuti (Post 512400)
The ones that are constantly active are mce, ohmd and hildon-desktop.

hildon-desktop - because you use X-Term and output to it. Also, some another screen stuff.
mce - it controls any user activity. For exam - you tap in screen to keep device unlocked, that means mce work. You move device - accelerometer works --> mce works.

Both are OK, you can read about it in
http://wiki.maemo.org/Documentation/...ystem_Software

BTW, I suggest you to make a measurement in this way - start powertop, immediately bring desktop theme (put X-Term into background), close KBD and lock device via slide button and put on table - all in 10secs. After 1min unlock and see. You should have little better values, at least mce/hildon-desktop may gone away.

ohmd is another beast. It is a daemon which control access of applications to hardware resource. It has some Nokia-written policy in files. For exam, it may allow or disallow access to audio for some application and people had in past some troubles with non-system media player. It is closed source. But in my mind it runs only if somebody tries to get access to some resource intensively. Usually it happens during application start.

Quote:

The others pop up every now and then (10 sec interval or so). Also /sbin/init keeps jumping to the top list quite frequently, is this normal?
No. That points to intensive daemon processes terminations. If you can repeat it, it has sense to install sysklogd package and look into /var/log/syslog after you repeat it (and run 'dmesg' too). In past (PR1.0) I saw the terminations of some video processing software like tracker component gst-video-thumbnailerd because existence of some unplayable video files. In PR1.1 it just locks system media player from playing video.

Quote:

I'm not quite sure what you mean about the magnetic field, though.
N900 back cover has a small magnet and N900 body has a magnet switch. If you don't close a back cover, your mSD would not be mounted. That stuff is read by mce and transfered to execute mSD mount even you have no mSD. Just guess - intensive magnetic field or mechanical jitter (magnetic switch is mechanical, I guess) would cause a flood of signals to mce.

Quote:

But basically all I did was reboot the device before this started.
Hm-m, it points to tracker again! It starts looking files in file space after reboot (some timeout does exists, of course).

Quote:

Here is a link to my powertop readings when the device is unlocked.
I see many "sleep" processes. It points to some shell work - some shell scripts are executed many times. It again supports a theory that you experiences the many process starts.

rm42 2010-02-06 01:15

Re: N900 battery life questions, issues, scenarios
 
Don't know if this applies to anyone. If so, please report it here or in the bug report.

https://bugs.maemo.org/show_bug.cgi?id=8848

If I reboot my device before leaving home I can last all day long with lots of activity. I can connect to WiFi at work and it causes no problem. But, for some reason, connecting and disconnecting from my home's WiFi eats up my battery. :confused:


All times are GMT. The time now is 02:03.

vBulletin® Version 3.8.8