maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Methods for determining battery drainage / cause (https://talk.maemo.org/showthread.php?t=59611)

ndi 2010-08-04 01:58

Re: Methods for determining battery drainage / cause
 
Hmm... With ApMeFo you could have hit the hildon bug.

What I can say is that battery-eye, personal IP address, personal dataplan and a few others I have all up and running and I have excellent battery life. I don't play much, but this is about standby time. And my N900 stands by > 24 hours on wifi + jumps maybe 30 times a day with ~25% battery.

I get a drain of about 9% overnight, but that's because maintenance is performed overnight - apt tasks, calendar cleanup and whatever heck I have no clue of yet. Like I said, over the day a 20 min charge nets me ~35% charge if charging from red, wall wart, and that holds me over the day.

I also reboot daily to fix the python widget issue. OC@900 and swappiness set to 10.

rexii23 2010-08-04 02:44

Re: Methods for determining battery drainage / cause
 
Quote:

Originally Posted by AlMehdi (Post 774240)
Nothing is random ;)

If i where you i would try to find out the reason before you flash. And i guess you will.. have you installed sysklogd? It might help you further in your investigation. Also the MicroSD card can be cause for some wake ups. I guess that is the "mmcqd" and "mmc1" processes.

Yes true, nothing is random =P

Never tried sysklogd. Will install that tonight and see how it goes. Curiosity might get the better of me and I'm gonna give it another test before reflashing.

It may just show what tick_nohz_restart_sched_tick is doing.. Nothing is consuming cpu cycles but the device is waking up all the time.

No SD card in the phone here.

I thought it may be a voltage issue with titan's kernel since I'm undervolting, but resetting it to default didn't make much of a difference. A new version of the kernel is out too, will be interesting to see how that goes!

2disbetter 2010-08-04 06:42

Re: Methods for determining battery drainage / cause
 
Quote:

Originally Posted by ndi (Post 774901)
Hmm... With ApMeFo you could have hit the hildon bug.

What I can say is that battery-eye, personal IP address, personal dataplan and a few others I have all up and running and I have excellent battery life. I don't play much, but this is about standby time. And my N900 stands by > 24 hours on wifi + jumps maybe 30 times a day with ~25% battery.

I get a drain of about 9% overnight, but that's because maintenance is performed overnight - apt tasks, calendar cleanup and whatever heck I have no clue of yet. Like I said, over the day a 20 min charge nets me ~35% charge if charging from red, wall wart, and that holds me over the day.

I also reboot daily to fix the python widget issue. OC@900 and swappiness set to 10.

It's what I've suspected as monitoring has my hildon.desktop constantly getting actioned. So I uninstalled ApMeFo (with much weeping and gnashing of teeth, as I love that app), and went the day and night after a reboot to see if it had any affect. Nope. After coming off the charger I was at 94% after 10 minutes of use I was down to 84%, after waking up this morning I was at 72%.

I've been looking at battery graph and the processor is spiked when it should be doign nothing. So now I'm trying to figure out what is causing the CPU to never rest.

2d

Dancairo 2010-08-04 07:49

Re: List of Apps known to drain battery?
 
Quote:

Originally Posted by VulcanRidr (Post 773151)
The main battery drain I have seen is yesterday when I had a Fennec/Firefox process hang and take up 99% of the CPU. It ate most of my battery in under an hour. I had put it back on my belt and the next time I pulled it out, I noticed that the device was warm to the touch, and fired up conky to see if anything was eating the CPU. Sure enough, there was that stray Fennec process...While I prefer tabbed browsing instead of opening multiple disparate windows, I am going to be very circumspect about my use of Firefox for a bit, or I'll use iceweasel from Debian...

--vr

I use Firefox as my main browser as I prefer tabbed browsing, however having read your post a couple of days ago I did a little test...
In my job there is quite a bit of sitting around awaiting my 'go' so therefore i do quite a bit of browsing the net...I always have to charge my N900 every day and i carry a spare battery too just in case i can't see the day out.
On Monday evening I charged my phone (didn't reboot) to full at around 9pm, listened to an hour podcast in bed that evening, work next day with usual amount of browsing, music on train, several phone calls, podcast again at night. Today is Wednesday 9am and i still have 15% battery left. I make that 36 hours without a charge and counting. The only thing i did differently was use opera browser instead of firefox! I didn't install or uninstall any apps in that period.
I prefer firefox and opera to microb because of the tabs and add ons and will still use firefox but i think that it is fairly conclusive that for me at least firefox causes a drain.
BTW..I always close the browser down when not in use...

Dan

AlMehdi 2010-08-04 08:41

Re: Methods for determining battery drainage / cause
 
I am doing a little trick with help of Alarmed every night between 01.00-07.30. I tell it to switch to a oc-profile of 125-250 mhz with minimum volt and flight mode. I do not want anyone to call me those hours anyway.

This night it only took 50 mAh! ;)

Me too like Firefox and i have noticed that it sometimes take much cpu. I did not have that before. I think it might be an extention causing it.

juise- 2010-08-04 09:39

Re: List of Apps known to drain battery?
 
Quote:

Originally Posted by juise- (Post 774763)
I've been running both of these apps for about 5 months now, and dare to claim that neither of them should be causing measureable idle drain.

Quote:

Originally Posted by s33 (Post 774816)
so what u are saying is that these apps dont drain much battery...but they do upto some extend....

if so how much % does it use?
how much battery life do you get?
can u give a brief analysis??

I'll try to rephrase the part I quoted from my previous post:

Based on my personal observations, they use so little power that I cannot give you any numbers about how much battery % they use. That's what I meant with "not measureable". I've noticed no difference, running them or not.

To put it in a Star Wars quote:
"These aren't the battery-consuming apps you're looking for."

I must admit that I haven't tried really hard to measure the idle consumption of those apps, since I'm actually using my N900 as my primary phone. On my normal use (some quite short calls i.e. not hours, sms, e-mail, listening music/podcasts, occasional web browsing, 3g data or wifi always on, OC'd to 250-900 with mix of ideal and starving voltage profiles) I get over 24 hours on full charge. If I put the phone to offline mode over night, I get about 5% drain over 8 hours.

I never remember my N900 having power itself off because it has run out of battery. I wonder if it actually ever does that.

I spend most of the time in areas with good cell coverage. However, I've noticed (and from what I read around here, I'm not alone) that staying in flaky coverage areas can eat up the battery really fast.

2disbetter 2010-08-04 10:25

Re: Methods for determining battery drainage / cause
 
Quote:

Originally Posted by AlMehdi (Post 775170)
I am doing a little trick with help of Alarmed every night between 01.00-07.30. I tell it to switch to a oc-profile of 125-250 mhz with minimum volt and flight mode. I do not want anyone to call me those hours anyway.

This night it only took 50 mAh! ;)

Me too like Firefox and i have noticed that it sometimes take much cpu. I did not have that before. I think it might be an extention causing it.

AlMehdi could you share some more specifics on your alarmed setup? Ie: What do I need to mimick it? (OC Kernel, overclocking app, etc.)

Thanks!

2d

ndi 2010-08-04 10:44

Re: Methods for determining battery drainage / cause
 
Alarmed, Titan's kernel, maybe rootsh, and all the wiki pages you can keep down.

2disbetter 2010-08-04 11:19

Re: Methods for determining battery drainage / cause
 
Quote:

Originally Posted by ndi (Post 775277)
Alarmed, Titan's kernel, maybe rootsh, and all the wiki pages you can keep down.


Got it, just working on the command line for enabling the 125-250mhz setting on the kernel.

Edit: Got it setup in Alarmed and in the Desktop Command Widgets.

Pretty nice, lets see if it helps my battery. ;)

2d

AlMehdi 2010-08-04 11:51

Re: Methods for determining battery drainage / cause
 
Quote:

Originally Posted by 2disbetter (Post 775309)
Got it, just working on the command line for enabling the 125-250mhz setting on the kernel.

Edit: Got it setup in Alarmed and in the Desktop Command Widgets.

Pretty nice, lets see if it helps my battery. ;)

2d

Great that you figured it out! It is pretty simple actually ;)


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

vBulletin® Version 3.8.8