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)

efekt 2010-11-21 16:17

Help me find the cause for an extreme battery drainage :)
 
Hi all, first thing first - I tried searching the forum for someone with a similar problem as I'm having, but found no one (at least, no one that used to have good battery life and suddenly doesn't).
As for my problem - for 10 days I'm experiencing a very odd situation that I can only describe as an extreme battery drainage - I used to have a very good battery life (before and after updating to PR 1.3) while lately my battery won't last for more than 7 or 8 hours, even without any use of the device...
I have some screenshots taken by the excellent BatteryGraph application, which shows this dire situation I'm having - this is showing the situation as it was about 12 days ago (9th Nov):

http://img148.imageshack.us/img148/4135/goodc.png

And this is how it looks these days:

http://img404.imageshack.us/img404/9950/badih.png

As you can see, this is an extremely disproportional behavior of the battery. This is the same battery as I had used before, I did not install anything really new since then, did not change and/or meddled with settings, and did not use my device in any different way than I used to.
  • I have two batteries and they both "behave" the same (e.g drain REALLY fast).
  • I tried charging both of the batteries with an external charger, but still they drain fast while being used.
  • I tried reflashing my device (not eMMC though, only firmware) but it didn't help.
  • WiFi/BT are of course turned off (and even if they didn't - this does not explain why without changing the way I use my N900 I used to have a battery which could last for more than a day, and now for no more than 8 hours).
If anyone can come up with a good solution for this, I'd really appreciate the help (else, I'd probably try to reflash my device including the eMMC) :)

P.S - I used to have another battery problem, though now its kinda solved by itself so I don't think its relevant, though it is worth mentioning in this context...

Thanks for the help in advance...

aQUICK1 2010-11-21 16:30

Re: Help me find the cause for an extreme battery drainage :)
 
Same problem here after firmware update ,( using 2 bat ) only 1 difference is that it not always drains fast as ur N900 , and aslo not found solution yet , will leave a msg if i have found solution for this bug ;)

scyzor 2010-11-21 16:50

Re: Help me find the cause for an extreme battery drainage :)
 
There's probably something eating your CPU. Run 'top' or 'htop'. Install if needed.

slender 2010-11-21 17:00

Re: Help me find the cause for an extreme battery drainage :)
 
http://talk.maemo.org/showpost.php?p...0&postcount=55

http://talk.maemo.org/showthread.php?t=59611

.edit
To install powertop IIRC:
-Enable devel repository (normal warnings apply)
- With root:
apt-get update
apt-get install powertop
apt-get clean
- Disable devel repository.
- Run powertop

PMaff 2010-11-21 17:21

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

Originally Posted by efekt (Post 879574)
...
And this is how it looks these days:

http://img404.imageshack.us/img404/9950/badih.png

As you can see, this is an extremely disproportional behavior of the battery.
...

Afair violett is CPU.

There seems to be constant CPU usage with peaks around 4:00
and at 6:00.
What does "top" in this case say?

On desktop :
top -b -i > output.file
works but on N900
it only works with
top -b > outputfile
and produces a bit too much output.

efekt 2010-11-21 17:29

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

Originally Posted by slender (Post 879617)
http://talk.maemo.org/showpost.php?p...0&postcount=55

http://talk.maemo.org/showthread.php?t=59611

.edit
To install powertop IIRC:
-Enable devel repository (normal warnings apply)
- With root:
apt-get update
apt-get install powertop
apt-get clean
- Disable devel repository.
- Run powertop

Thanks slender, but I knew I forgot something - I already tried using powertop and htop, but still could not find the cause for this problem.
Besides, as you can see from the screenshots, the problem is unlikely because of something which uses CPU, as in the screenshot where everything was fine (the first one) you could see a high CPU usage but still with a very low impact on battery drainage (I'd lose around 10% battery each 4 hours), while in the second screenshot you can clearly see that even with a relatively unexisting CPU usage, the battery would drain in a rate of 10%-12% an hour...
Though if you could still figure stuff better than me from the powertop application's output, I would post the results here. Just say the word :)

Quote:

Originally Posted by PMaff (Post 879632)
Afair violett is CPU.

There seems to be constant CPU usage with peaks around 4:00
and at 6:00.
What does "top" in this case say?

On desktop :
top -b -i > output.file
works but on N900
it only works with
top -b > outputfile
and produces a bit too much output.

I have no idea what it was doing around 4:00 as I was probably asleep :)
Maybe its spying on me while I'm unaware of that? :eek:

Anyways, as I wrote to slender - those CPU 'peaks' (and you're right, the violet is CPU) should still not drain the battery that much...

slender 2010-11-21 19:43

Re: Help me find the cause for an extreme battery drainage :)
 
With powertop you see also processes that wake up cpu in idle state. It's not all about cpu percentage but how often cpu is awaken also one of biggest battery drainers for me was wlan driver in first firmwares, but it has been since fixed.

And IMO your idle state cpu usage is huge in comparison to mine (almost none, read wiki and threads about "normal" cpu usage when you are running on bare minimum load/settings/apps). On the other hand I do not use any online activity apps when idle.

.edit
The best way to start looking for answers is IMO always to turn off everything and start starting stuff gradually and see how it effects to whole system. And if bare minimum state is still draining then it might be time to flash emmc+rootfs and not restore same apps that were before.

..edit
IIRC Powertop shows also some IRQ activity stats.

slender 2010-11-21 19:57

Re: Help me find the cause for an extreme battery drainage :)
 
You said that you haven installed anything new but have you UPDATED anything.

scyzor 2010-11-21 20:25

Re: Help me find the cause for an extreme battery drainage :)
 
I thought the same thing. What conserves battery is your processor being in idle. It rarely goes idle in your graph. Do you know which process is producing this constant usage ?

efekt 2010-11-21 20:39

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

Originally Posted by slender (Post 879738)
You said that you haven installed anything new but have you UPDATED anything.

Hmmm not sure I updated anything significant besides maybe the power-kernels (which I uninstalled [correctly] after witnessing the drainage).
Anyways - this is what powertop says:

Code:

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

C#      | Ratio  | Avg/dura | Frequency | Ratio
--------+--------+----------+-----------+--------+
    C0 |  32.0% |          |  600 MHz |  7.2% |
    C1 |  0.3% |    0.3ms |  550 MHz |  0.9% |
    C2 |  9.6% |    4.0ms |  500 MHz |  10.0% |
    C3 |  11.2% |  37.7ms |  250 MHz |  81.9% |
    C4 |  46.8% |  114.2ms |

IRQ#    | Activity  | Type          | Name
--------+------------+----------------+---------------------------
    12 |      2063 |          INTC | DMA
    86 |      1591 |          INTC | mmc1
    37 |      1408 |          INTC | gp
    67 |      1362 |          INTC | ssi_p1_mpu_irq0
    71 |        547 |          INTC | ssi_gdd
    311 |        542 |          GPIO | ssi_p1_cawake_gpio
    11 |        452 |          INTC | prcm
    56 |        304 |          INTC | i2c_omap
    57 |        38 |          INTC | i2c_omap
    225 |        19 |          GPIO | omap2-onenand

PID#    | Activity  | Name          | Function Entry (Expire)
--------+------------+----------------+---------------------------
      0 |      1223 |  <kernel core> | tick_nohz_restart_sched_tick (tick_sched_timer)
      0 |        166 |  <kernel core> | hrtimer_start (tick_sched_timer)
    619 |        90 |          mmcqd | cfq_completed_request (cfq_idle_slice_timer)
    37 |        75D|            awk | cpufreq_governor_dbs (delayed_work_timer_fn)
    619 |        14 |          mmcqd | queue_delayed_work (delayed_work_timer_fn)
    619 |          8 |          mmcqd | schedule_timeout (process_timeout)
    745 |          6 |      bme_RX-51 | sys_timer_settime (posix_timer_fn)
    708 |          6 |          dsme | __enqueue_rt_entity (sched_rt_period_timer)
    15 |          5 |        kswapd0 | schedule_timeout (process_timeout)
    803 |          4 |            mce | tsc2005_start_scan (tsc2005_esd_timer_handler)
      1 |          3 |  <kernel core> | queue_delayed_work (delayed_work_timer_fn)
    15 |          3 |        kswapd0 | blk_plug_device (blk_unplug_timeout)
    10 |          3 |    omap2_mcspi | neigh_add_timer (neigh_timer_handler)
      0 |          2 |  <kernel core> | queue_delayed_work (delayed_work_timer_fn)
    745 |          2 |      bme_RX-51 | sys_timer_settime (posix_timer_fn)
    745 |          2 |      bme_RX-51 | do_nanosleep (hrtimer_wakeup)
    745 |          2 |      bme_RX-51 | schedule_timeout (process_timeout)
  1206 |          2 | hildon-desktop | schedule_hrtimeout_range (hrtimer_wakeup)
    708 |          2 |          dsme | do_nanosleep (hrtimer_wakeup)
    29 |          2 |          mount | setup_wb_timer (wb_timer_fn)
    823 |          2 |      gconfd-2 | ubifs_wbuf_write_nolock (wbuf_timer_callback_nolock)
  1544 |          1 |osso-addressboo | schedule_hrtimeout_range (hrtimer_wakeup)
  2175 |          1 |e-addressbook-f | futex_wait (hrtimer_wakeup)
    800 |          1 |          ohmd | schedule_hrtimeout_range (hrtimer_wakeup)
    915 |          1 | hald-addon-bme | schedule_hrtimeout_range (hrtimer_wakeup)
  2177 |          1 |e-addressbook-f | futex_wait (hrtimer_wakeup)
  2179 |          1 |e-addressbook-f | futex_wait (hrtimer_wakeup)
  2176 |          1 |e-addressbook-f | futex_wait (hrtimer_wakeup)
  2178 |          1 |e-addressbook-f | futex_wait (hrtimer_wakeup)
  1277 |          1 |  BatteryGraphd | journal_get_write_access (commit_timeout)
    823 |          1 |      gconfd-2 | schedule_hrtimeout_range (hrtimer_wakeup)
  1197 |          1 |hildon-status-m | schedule_hrtimeout_range (hrtimer_wakeup)
  1105 |          1 |          iphbd | schedule_hrtimeout_range (hrtimer_wakeup)
  2169 |          1 |      powertop | do_nanosleep (hrtimer_wakeup)

Power domain activity breakdown
Domain  | % of time spent in states
--------+---------+---------+---------+---------+----------
usbhost |OFF: 100%|RET:  0%|INA:  0%| ON:  0%| now:(OFF)
    sgx |OFF: 100%|RET:  0%|INA:  0%| ON:  0%| now:(OFF)
    per |OFF:  57%|RET:  9%|INA:  0%| ON:  32%| now:(ON)
    dss |OFF: 100%|RET:  0%|INA:  0%| ON:  0%| now:(OFF)
    cam |OFF: 100%|RET:  0%|INA:  0%| ON:  0%| now:(OFF)
  core |OFF:  46%|RET:  11%|INA:  1%| ON:  40%| now:(ON)
  neon |OFF:  46%|RET:  11%|INA:  9%| ON:  32%| now:(ON)
    mpu |OFF:  46%|RET:  11%|INA:  9%| ON:  32%| now:(ON)
  iva2 |OFF: 100%|RET:  0%|INA:  0%| ON:  0%| now:(OFF)

Clock activity breakdown at end of period
Domain  | Active clocks
--------+---------------+---------------+------------------
  core |          SDRC | HSOTGUSB_IDLE |      OMAPCTRL
        |    MAILBOXES |
  wkup |          GPT1 |      32KSYNC |        GPIO1
        |          WDT1 |
  ckgen |          CORE |          PERI |          96M
        |          48M |          12M |          54M
        |      EMU_CORE |
    per |        GPIO2 |        GPIO3 |        GPIO4
        |        GPIO5 |        GPIO6 |

Total wakeups  9961, 332.0/s | IRQ 8326, 277.5/s | Timers 1635,  54.5/s
HW wakeups      196,  6.5/s |    Real gp_timers expired  128,  4.3/s

If you can gather anything significant out of it (besides the basic stuff I gathered from the explanation provided in powertop's wiki page) - then be my guest :)

Quote:

Originally Posted by scyzor (Post 879757)
I thought the same thing. What conserves battery is your processor being in idle. It rarely goes idle in your graph. Do you know which process is producing this constant usage ?

Nope, have no idea... Well, I think I got it once while taking a look at top, but I'm not sure it was it: /usr/bin/hildon-status-menu and /usr/bin/hildon-desktop

slender 2010-11-22 01:57

Re: Help me find the cause for an extreme battery drainage :)
 
Iīm going to sleep next so sorry for my rather rude output.

From where did you install power kernel? Do you have devel repository enabled?

Looking your powertop output with my ear it screams that something is fck up if it really represent your idle state. btw. itīs always good to run it couple of times to see that you get some pretty constant values.

So to ask obvious questions:
-Did you first remove all widgets from desktops
-Closed all apps
-went offline
-No daemons running (I have batterygraph and it seems to effect very little)
-Acted with powertop as I recommended in my link

(Probably shutting down, removing battery for 10 mins, rebooting and letting it calm down for 5-x minutes, depending on how long tracker runs AND then running powertop couple of times to get idle state value is good way to start debug)

I tried powertop and my statistics are currently following
Total wakeups 531 = IRQ 415 & Timers 116 and CPU is most of time (90%) in sleep C4 and rest of time in C3 and only fraction in couple of others and none in C0
Only additional thing I have running is batterygraph daemon. I have not installed any apps that install tweaked kernel so PR 1.3 official kernel.

RobbieThe1st 2010-11-22 02:08

Re: Help me find the cause for an extreme battery drainage :)
 
Check here: http://talk.maemo.org/showthread.php?t=54462
It solved this problem for me back on PR1.2

efekt 2010-11-23 12:12

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

Originally Posted by RobbieThe1st (Post 879937)
Check here: http://talk.maemo.org/showthread.php?t=54462
It solved this problem for me back on PR1.2

I tried uninstalling Catorise, and reinstalling hildon-desktop - both did not help...

Quote:

Originally Posted by slender (Post 879931)
Iīm going to sleep next so sorry for my rather rude output.

You are forgiven, son ;)

Quote:

Originally Posted by slender (Post 879931)
From where did you install power kernel? Do you have devel repository enabled?

Looking your powertop output with my ear it screams that something is fck up if it really represent your idle state. btw. itīs always good to run it couple of times to see that you get some pretty constant values.

So to ask obvious questions:
-Did you first remove all widgets from desktops
-Closed all apps
-went offline
-No daemons running (I have batterygraph and it seems to effect very little)
-Acted with powertop as I recommended in my link

(Probably shutting down, removing battery for 10 mins, rebooting and letting it calm down for 5-x minutes, depending on how long tracker runs AND then running powertop couple of times to get idle state value is good way to start debug)

I tried powertop and my statistics are currently following
Total wakeups 531 = IRQ 415 & Timers 116 and CPU is most of time (90%) in sleep C4 and rest of time in C3 and only fraction in couple of others and none in C0
Only additional thing I have running is batterygraph daemon. I have not installed any apps that install tweaked kernel so PR 1.3 official kernel.

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
    12 |        50 |          INTC | DMA
    21 |        17 |          INTC | SGX
    225 |        13 |          GPIO | omap2-onenand
    25 |          1 |          INTC | OMAP

PID#    | Activity  | Name          | Function Entry (Expire)
--------+------------+----------------+---------------------------
      0 |        635 |  <kernel core> | tick_nohz_restart_sched_tick (tick_sched_timer)
    803 |        216 |            mce | schedule_hrtimeout_range (hrtimer_wakeup)
    37 |        80D|            awk | cpufreq_governor_dbs (delayed_work_timer_fn)
  1165 |        20 |hildon-status-m | schedule_hrtimeout_range (hrtimer_wakeup)
    740 |        12 |      bme_RX-51 | sys_timer_settime (posix_timer_fn)
      0 |        12 |  <kernel core> | hrtimer_start (tick_sched_timer)
    622 |          7 |          mmcqd | schedule_timeout (process_timeout)
    622 |          7 |          mmcqd | queue_delayed_work (delayed_work_timer_fn)
    740 |          6 |      bme_RX-51 | schedule_timeout (process_timeout)
    706 |          5 |          dsme | __enqueue_rt_entity (sched_rt_period_timer)
  1635 |          3 |    osso-xterm | schedule_hrtimeout_range (hrtimer_wakeup)
    706 |          3 |          dsme | do_nanosleep (hrtimer_wakeup)
    803 |          3 |            mce | tsc2005_start_scan (tsc2005_esd_timer_handler)
      1 |          3 |  <kernel core> | queue_delayed_work (delayed_work_timer_fn)
    740 |          2 |      bme_RX-51 | do_nanosleep (hrtimer_wakeup)
  1528 |          2 |      browserd | futex_wait (hrtimer_wakeup)
    803 |          2 |            mce | queue_delayed_work (delayed_work_timer_fn)
    886 |          1 |          Xorg | hrtimer_start (it_real_fn)
    622 |          1 |          mmcqd | schedule_timeout (process_timeout)
    622 |          1 |          mmcqd | cfq_completed_request (cfq_idle_slice_timer)
    886 |          1 |          Xorg | queue_delayed_work (delayed_work_timer_fn)
    803 |          1 |            mce | schedule_timeout (process_timeout)
    803 |          1 |            mce | queue_delayed_work (delayed_work_timer_fn)
    914 |          1 | hald-addon-bme | schedule_hrtimeout_range (hrtimer_wakeup)
    29 |          1 |          mount | setup_wb_timer (wb_timer_fn)
  1240 |          1 |  BatteryGraphd | schedule_timeout (process_timeout)
  1240 |          1 |  BatteryGraphd | journal_get_write_access (commit_timeout)
  1641 |          1 |      powertop | do_nanosleep (hrtimer_wakeup)

Power domain activity breakdown
Domain  | % of time spent in states
--------+---------+---------+---------+---------+----------
usbhost |OFF: 100%|RET:  0%|INA:  0%| ON:  0%| now:(OFF)
    sgx |OFF:  98%|RET:  0%|INA:  0%| ON:  1%| now:(OFF)
    per |OFF:  27%|RET:  65%|INA:  0%| ON:  6%| now:(ON)
    dss |OFF:  25%|RET:  0%|INA:  0%| ON:  74%| now:(OFF)
    cam |OFF: 100%|RET:  0%|INA:  0%| ON:  0%| now:(OFF)
  core |OFF:  12%|RET:  8%|INA:  68%| ON:  9%| now:(ON)
  neon |OFF:  13%|RET:  15%|INA:  65%| ON:  6%| now:(ON)
    mpu |OFF:  13%|RET:  15%|INA:  65%| ON:  6%| now:(ON)
  iva2 |OFF: 100%|RET:  0%|INA:  0%| ON:  0%| now:(OFF)

Clock activity breakdown at end of period
Domain  | Active clocks
--------+---------------+---------------+------------------
  core |          SDRC | HSOTGUSB_IDLE |      OMAPCTRL
        |    MAILBOXES |
  wkup |          GPT1 |      32KSYNC |        GPIO1
        |          WDT1 |
  ckgen |          CORE |          PERI |          96M
        |          48M |          12M |          54M
        |      EMU_CORE |
    per |        GPIO2 |        GPIO3 |        GPIO4
        |        GPIO5 |        GPIO6 |

Total wakeups  4268, 142.3/s | IRQ 3239, 108.0/s | Timers 1029,  34.3/s
HW wakeups      197,  6.6/s |    Real gp_timers expired  129,  4.3/s

I of course tried removing all my widgets (all I had was the SMS conversation, Dataplan monitor, calendar and music player - all of them were widgets which I ALWAYS used, even prior to the problem specified in this thread) but it did not help...
The power kernels which I was using were of course downloaded from the extra-devel repo...

Anyways, thank you guys for trying to help - and if anyone couldn't find the cause for this, I'd probably just reflash and this time will reflash the eMMC as well (though I'm not quite sure if it'd help at all)...

slender 2010-11-23 12:28

Re: Help me find the cause for an extreme battery drainage :)
 
Hmm. As you can see the cpu is pretty much idle but there is huge amount activity in IRQ.

Maybe itīs time to list your programs:
http://talk.maemo.org/showpost.php?p=783088&postcount=2

Check what kernel you have
uname -r
command should give you 2.6.28-omap1

.edit
do you have memory card plugged in?

AlMehdi 2010-11-23 13:00

Re: Help me find the cause for an extreme battery drainage :)
 
Yeah, according to those powertops.. something is not right. Could start up Top and paste the log here?

1. top
2. press "m" to put the most memory hog at top
3. copy/paste here
4. press "p" for processes
5. copy/paste here

And a dmesg would be nice too...

1. dmesg > /home/user/MyDocs/dmesg-log.txt
2. attach it here...

efekt 2010-11-23 13:41

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

Originally Posted by slender (Post 881040)
Hmm. As you can see the cpu is pretty much idle but there is huge amount activity in IRQ.

Maybe itīs time to list your programs:
http://talk.maemo.org/showpost.php?p=783088&postcount=2

Here ya go (as you can see, my app list is not very long - I install only apps I actually use):
Code:

3g2g-mode-selection-applet    0.4-2    user/desktop    64
actionmanagerdaemon    0.2    user/system    104
adblock-plus-1.0    1maemo0-8    user/network    1548
adflashblock-css    1.0.0-4    user/network    116
advanced-power    0.4.2-4    user/desktop    188
advanced-power-monitor    0.5.3-3    user/utilities    216
albion    0.9.1    user/games    2628
autodisconnect    0.4.7    user/network    240
battery-eye    0.7.7-1    user/utilities    196
batterygraph    0.3.2    user/utilities    356
blessn900    0.43-1    user/graphics    1740
conky    1.6.1-0maemo5-1.1    user/desktop    680
conversations-inbox-widget    1.1.1    user/desktop    96
countdowntimer    0.5-2    user/utilities    164
custom-operator-name-applet    0.1    user/desktop    100
dbus-switchboard    1.2.19-1fremantle1    user/system    492
decoders-support    0.4    user/multimedia    84
diskusage    0.6.20101005-2    user/utilities    248
dtg    1.0.153    user/office    8884
dtg-installer    1.0-4.1.1+0m5    user/other    96
empty-package    1.1    user/system    16
evince    2.28.2-1maemo2    user/office    656
fapman    0.6.7-1    user/system    828
fcamera    0.1.7-1    user/multimedia    612
filebox    0.7-3    user/utilities    2156
flashlight-applet    0.4-4    user/desktop    248
fm-boost    0.2-2fremantle1    user/system    120
fmms    1.2.9    user/network    820
fmradio    2010.03.20    user/multimedia    2172
fmrdsnotify    0.7.3    user/multimedia    368
greasemonkey-webaddon    0.8.20090920.2-3maemo1    user/network    1028
gtranslate    0.6-3    user/education    344
headphoned    1.9    user/multimedia    84
headset-button-enabler    0.5    user/hidden    48
headset-control    0.4    user/multimedia    104
healthcheck    1.2.1-3    user/utilities    264
hebrew-keymap    1.2    user/system    68
hideuseragent    0.3.7    user/network    116
htop    0.8.3-1maemo3    user/utilities    192
humanity-theme    0.6    user/desktop    32
kblayout-status    0.2-5    user/desktop    116
leafpad    0.8.17le-0maemo1    user/utilities    944
libqtm-bearer    1:1.0.2-maemo4+0m5    user/libs    300
libqtm-contacts    1:1.0.2-maemo4+0m5    user/libs    1012
libqtm-location    1:1.0.2-maemo4+0m5    user/libs    256
libqtm-messaging    1:1.0.2-maemo4+0m5    user/libs    848
libqtm-multimedia    1:1.0.2-maemo4+0m5    user/libs    1544
libqtm-publishsubscribe    1:1.0.2-maemo4+0m5    user/libs    244
libqtm-sensors    1:1.0.2-maemo4+0m5    user/libs    336
libqtm-serviceframework    1:1.0.2-maemo4+0m5    user/libs    392
libqtm-systeminfo    1:1.0.2-maemo4+0m5    user/libs    420
libqtm-versit    1:1.0.2-maemo4+0m5    user/libs    468
load-applet    0.4.6-5    user/utilities    100
maemo-geolocation    1.1.3-1    user/navigation    120
mafw-gst-subtitles-applet    0.3.2010.24-1+0m5-2    user/multimedia    164
mod-support    1.0.4    user/multimedia    88
monorail    0.4    user/network    280
mp-fremantle-generic-pr    20.2010.36-2    user/system   
mussorgsky    0.5.1-1    user/multimedia    280
n900-fmrx-enabler    1.5-4+0m5    user/libs    92
ogg-support    1.0.6~rc1    user/multimedia    136
openssh    1:5.1p1-6.maemo5    user/network    8
openssh-client    1:5.1p1-6.maemo5    user/network    1192
openssh-server    1:5.1p1-6.maemo5    user/network    456
packageview    0.4.20101005-2    user/utilities    252
personal-gprs-mon    0.6-3    user/desktop    292
petrovich    0.2    user/system    76
powertop    1.2    user/development    84
profilesx    0.7    user/system    204
psswitcher    0.2-3    user/system    152
pwsafe    1.6.3d    user/utilities    240
pygtkeditor    3.0.19-1    user/development    608
python2.5-qt4    4.7.5-maemo2    user/development    36
recaller    2.1.0-5    user/desktop    180
recorder    0.3.4    user/multimedia    240
rootsh    1.8    user/system    32
sharing-plugin-yfrog    0.4-1    user/multimedia    76
simple-fmtx-widget    0.5.0    user/desktop    224
systeminfowidget    0.1.2-1    user/desktop    84
tar-gnu    1.22-2maemo5    user/system    2360
theme-customizer    0.9-51    user/system    880
ttf-droid    1.01-dfsg0maemo3    user/graphics    4392
tutorial-home-applet    0.6.16+0m5    user/support    1292
tweakflashver    0.4.0-maemo1    user/utilities    212
ukeyboard    2.4-5    user/system    480
unzip    1:6.0-maemo4    user/utilities    404
unzip-fm    0.1.3-4    user/tools    72
zip    3.0-1maemo5    user/utilities    480

Quote:

Originally Posted by slender (Post 881040)
Check what kernel you have
uname -r
command should give you 2.6.28-omap1

Yup, got 2.6.28-omap1...

Quote:

Originally Posted by slender (Post 881040)
.edit
do you have memory card plugged in?

Ah, I already thought about that direction - I removed it but it didn't help :o

Quote:

Originally Posted by AlMehdi (Post 881072)
Yeah, according to those powertops.. something is not right. Could start up Top and paste the log here?

1. top
2. press "m" to put the most memory hog at top
3. copy/paste here
4. press "p" for processes
5. copy/paste here

Well since copy-pasting top from terminal was kinda tricky (kept refreshing the screen and de-selecting the text) I just took a screenshot, which I hope will suffice.
This one is the one with the sort processes by memory usage:

http://img403.imageshack.us/img403/7...0112315363.png

And this one is sorted by process usage:

http://img842.imageshack.us/img842/3...0112315174.png

Quote:

Originally Posted by AlMehdi (Post 881072)
And a dmesg would be nice too...

1. dmesg > /home/user/MyDocs/dmesg-log.txt
2. attach it here...

Attached.

Thanks for the help so far, AlMehdi and slender :)

AlMehdi 2010-11-23 14:20

Re: Help me find the cause for an extreme battery drainage :)
 
Sorry.. forgot to mention "q" for quitting Top. Anyway... could not see anything directly wrong. Only that simple-fmtx-widget are a little famous as a battery drainer. So you might wanna try to uninstall that and use QBW instead.

p900 2010-11-23 14:27

Re: Help me find the cause for an extreme battery drainage :)
 
I had a similar issue and the problem was Catorize and later flip clock.
Catorize was a real nightmare for battery

efekt 2010-11-23 15:18

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

Originally Posted by AlMehdi (Post 881130)
Sorry.. forgot to mention "q" for quitting Top. Anyway... could not see anything directly wrong. Only that simple-fmtx-widget are a little famous as a battery drainer. So you might wanna try to uninstall that and use QBW instead.

Will try that, I have nothing to lose :)

Quote:

Originally Posted by p900 (Post 881134)
I had a similar issue and the problem was Catorize and later flip clock.
Catorize was a real nightmare for battery

Well I uninstalled Catorise but it didn't help... Needless to say, Cathorise was definitely not the problem (though I did remove it just to make sure) as I had it installed for a long time by now, and it worked ok and my battery was functioning well too...

Saturn 2010-11-23 16:03

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

I don't know if it is this but it seems your
/usr/sbin/browserd -s xxxx -n RTComMessagingServer
is running a little too high in memory and CPU.

Quick search, I see here other people having the same problem and quick battery depletion. e.g.:http://talk.maemo.org/showthread.php?t=61006

Other thing to try is also to remove programs one by one and see when/if this solves it.

good luck.

AlMehdi 2010-11-23 16:20

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

Originally Posted by p900 (Post 881134)
I had a similar issue and the problem was Catorize and later flip clock.
Catorize was a real nightmare for battery

This bug was solved if i remember it correct..

AlMehdi 2010-11-23 16:25

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

Originally Posted by Saturn (Post 881235)
Hi,

I don't know if it is this but it seems your
/usr/sbin/browserd -s xxxx -n RTComMessagingServer
is running a little too high in memory and CPU.

Quick search, I see here other people having the same problem and quick battery depletion. e.g.:http://talk.maemo.org/showthread.php?t=61006

Other thing to try is also to remove programs one by one and see when/if this solves it.

good luck.

I think it is pretty normal for it to be around 10 mb..

Saturn 2010-11-23 17:02

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

Originally Posted by AlMehdi (Post 881250)
I think it is pretty normal for it to be around 10 mb..

Yes, you're right. Checked it again and mine's also 10ish.

egoshin 2010-11-23 19:29

Re: Help me find the cause for an extreme battery drainage :)
 
Kill a tracker - from your screens it seems it runs. It is a first suspect because it can easily eat the battery in 3-4h:

tracker-processes -t

efekt 2010-11-23 21:44

Re: Help me find the cause for an extreme battery drainage :)
 
AlMehdi - Removing simple-fmtx-widget did not help... :o

egoshin - Tried that now, will report later on the outcome. Thanks for the tip :)

efekt 2010-11-24 07:02

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

Originally Posted by egoshin (Post 881438)
Kill a tracker - from your screens it seems it runs. It is a first suspect because it can easily eat the battery in 3-4h:

tracker-processes -t

Nope, it didn't help :o


Any other propositions guys? I'm willing to try everything before I reflash the device...

n900faniam 2010-11-24 07:27

Re: Help me find the cause for an extreme battery drainage :)
 
I reflashed my phone the other day (camera stopped working after kernal update on Friday - then the whole system went down). since the reflash my battery lasts for less than 6 hours in standby.

What is going on????

9000 2010-11-24 07:41

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

Originally Posted by n900faniam (Post 881826)
I reflashed my phone the other day (camera stopped working after kernal update on Friday - then the whole system went down). since the reflash my battery lasts for less than 6 hours in standby.

What is going on????

I think a lot of things happened since you last reflash. You may show us the output of the following command for our further investigation:

Code:

maemo-list-user-packages

n900faniam 2010-11-24 07:44

Re: Help me find the cause for an extreme battery drainage :)
 
thanks 9000
just ran command, how do I copy report from Xterm?

efekt 2010-11-24 09:48

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

Originally Posted by n900faniam (Post 881839)
thanks 9000
just ran command, how do I copy report from Xterm?

This was just answered here by slender a few posts ago... why didn't you look? :confused:

Quote:

Originally Posted by slender (Post 881040)
Hmm. As you can see the cpu is pretty much idle but there is huge amount activity in IRQ.

Maybe itīs time to list your programs:
http://talk.maemo.org/showpost.php?p=783088&postcount=2


efekt 2010-11-28 16:08

Re: Help me find the cause for an extreme battery drainage :)
 
Reflashed my device entirely (both firmware and emmc) but it didn't help :(
Also tried removing some applications but it didn't help either... Damn strange... I don't think its a CPU thing, as sometimes - in BatteryGraph - I can see that the battery drainage is steady even though there's almost no CPU activity at all.

I wanted to try something I saw egoshin suggested in another thread:

Quote:

Originally Posted by egoshin (Post 603590)
In addition I recommend you to run this commands and test it again:

renice 1 `cat /syspart/applications/standby/background/tasks`
renice 1 `ps | grep modest | cut -c1-5`

It should save you a lot of battery over standby. I have increase more then 50%.

(Note: modest renice would work until you call e-mail GUI, after that it reverts back. I am working on it)

But I keep getting errors which says that "cat /syspart/applications/standby/background/tasks" and "ps | grep modest | cut -c1-5" are invalid arguments... Any ideas anyone? I'm practically willing to try anything, I have nothing to lose :)

Saturn 2010-11-28 18:43

Re: Help me find the cause for an extreme battery drainage :)
 
You didn't mention, did you restore your settings from a backup afterwards?

Many had understood in the past that the restore was bringing back the same problem since the problem was in some setting or corrupted file making the whole reflash moot.

efekt 2010-11-28 22:39

Re: Help me find the cause for an extreme battery drainage :)
 
Yea I did restore my settings and I thought this might be what hinders my phone's battery function again, I'll have to check it too - but not now because I need my phone with all the current settings :)

bachagabriel 2010-11-28 23:12

Re: Help me find the cause for an extreme battery drainage :)
 
The high CPU activity seems to come every hour. It could be email trying to sync if you set it to 1h automatic sync.

slender 2010-11-29 00:05

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

Originally Posted by efekt (Post 885047)
Reflashed my device entirely (both firmware and emmc) but it didn't help :(...

And did you restore ANYTHING from backup before testing phone?

efekt 2010-11-29 08:19

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

Originally Posted by slender (Post 885274)
And did you restore ANYTHING from backup before testing phone?

Yea I restored everything back, I was hoping the flashing alone would fix the problem - next step would be flashing (I think this time flashing only the firmware would be enough) and testing without restoring settings...

Quote:

Originally Posted by bachagabriel (Post 885262)
The high CPU activity seems to come every hour. It could be email trying to sync if you set it to 1h automatic sync.

I'm not using emails on my phone :o

efekt 2010-12-01 08:24

Re: Help me find the cause for an extreme battery drainage :)
 
Well it didn't help :(
I flashed my firmware, did not restore a single thing (though most of it is already there, such as contacts and music, because I didn't flash the eMMC), installed only BatteryGraph, but the battery still drains very fast as usual...

I wonder - could the problem be with BatteryGraph? :confused:
Anyways, I'll try to reflash again, this time including the eMMC...

efekt 2010-12-01 17:18

Re: Help me find the cause for an extreme battery drainage :)
 
Bah... flashing the eMMC as well didn't help too... I didn't restore any setting this time, just flashed the firmware and eMMC and installed BatteryGraph to monitor the battery performance, but still it drains fast.

I thought this might be related to BatteryGraph so I uninstalled it, and installed BatteryEye instead - but still it drains fast.
The problem must be related to my batteries (even though its kinda odd both of my batteries are affected by this at the same time), or in my phone itself (which is more likely, though I have no idea what can cause this)... :(

slender 2010-12-01 17:27

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

Originally Posted by efekt (Post 887015)
Bah... flashing the eMMC as well didn't help too... I didn't restore any setting this time, just flashed the firmware and eMMC and installed BatteryGraph to monitor the battery performance, but still it drains fast.

I thought this might be related to BatteryGraph so I uninstalled it, and installed BatteryEye instead - but still it drains fast.
The problem must be related to my batteries (even though its kinda odd both of my batteries are affected by this at the same time), or in my phone itself (which is more likely, though I have no idea what can cause this)... :(

Have you tried to use them empty. Sometimes battery meter goes nuts and tells that battery is empty and I'm able to use battery for hours after warning.

Also. I would like to say that see how simple and easy things are when you (first) start from zero level :) Now we know that problem is not the apps/settings you have installed but maybe some HW(battery or N900) or BME bug you have found.

efekt 2010-12-01 23:44

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

Originally Posted by slender (Post 887024)
Have you tried to use them empty. Sometimes battery meter goes nuts and tells that battery is empty and I'm able to use battery for hours after warning.

As far as I can remember it happened once, and the phone turned itself off, so IT IS empty :)

Quote:

Originally Posted by slender (Post 887024)
Also. I would like to say that see how simple and easy things are when you (first) start from zero level :)

Yea, but starting from scratch means (temporary) loosing all your files and settings, and its pretty annoying to get everything back the way it was... :)

Quote:

Originally Posted by slender (Post 887024)
Now we know that problem is not the apps/settings you have installed but maybe some HW(battery or N900)

I have a strong feeling that this is the issue, though I have no idea of how to confirm such a thing...

Quote:

Originally Posted by slender (Post 887024)
or BME bug you have found.

I'm not the first to find it for sure, but I hope it is it because that means this could be fixed rather quickly.

Anyhows, I want to thank anyone who tried to help me so far (and especially you slender ;)), even though the problem still not fixed - your help did not go unnoticed :)

I was thinking, maybe the problem is with the battery? Maybe it "thinks" its full when its fully charged, but in fact it isn't? I think I recall there was a way to "reset" the battery's memory (it has some kind of a built-in chip for this purpose, no?), so maybe I could try reseting it and everything will come back to normal?


All times are GMT. The time now is 01:08.

vBulletin® Version 3.8.8