maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   High Battery Consumption in Standby (https://talk.maemo.org/showthread.php?t=70436)

Juhgu 2011-03-14 23:35

Re: High Battery Consumption
 
Uninstalled catorize - had no idea it could cause battery issues until I read the forums - and battery life significantly improved.

Here's a battery graph from yesterday, just for reference. With no use and internet connection off your phone shouldn't use more than 10-15% of battery per 24 hours. (I guess?) I bought my phone when N900 came out, 15 months ago or so, and it's been in heavy use ever since. I'm quite happy with how well the battery still performs.

(The little notch there is from actual phone use.)

http://koshiyoka.biz/juhgu/temp/n900battery.png

StocChr 2011-09-29 14:52

Re: High Battery Consumption
 
hi guys,

my battery lasts less and less in the last time
can someone check my powertop output?
( Offline Modus after an Restart )

btw. what the hell is the fmtx process while in offline modus?

cheers

Code:

Nokia-N900:~# powertop
Powertop 1.13.3
status: Unknown job: pmtrackerdaemon
Sleeping for 11 seconds before sampling
Collecting data for 30 seconds
Sample interval was 00m 30s 62134us

C#      | Ratio  | Avg/dura | Frequency | Ratio
--------+--------+----------+-----------+--------+
    C0 |  0.6% |          |  1150 MHz |  nan% |
    C1 |  0.0% |    0.4ms |
    C2 |  2.1% |    9.7ms |
    C3 |  9.4% |  113.1ms |
    C4 |  87.9% |  943.8ms |

IRQ#    | Activity  | Type          | Name
--------+------------+----------------+---------------------------
    56 |        113 |          INTC | i2c_omap
    37 |        91 |          INTC | gp
    11 |        87 |          INTC | prcm
    86 |        31 |          INTC | mmc1
    57 |        29 |          INTC | i2c_omap
    21 |          9 |          INTC | SGX
    12 |          4 |          INTC | DMA

PID#    | Activity  | Name          | Function Entry (Expire)
--------+------------+----------------+---------------------------
  1951 |        30 |          fmtxd | schedule_hrtimeout_range (hrtimer_wakeup)
  1822 |        17 |    osso-xterm | schedule_hrtimeout_range (hrtimer_wakeup)
      0 |        13 |  <kernel core> | tick_nohz_restart_sched_tick (tick_sched_timer)
      0 |        13 |  <kernel core> | hrtimer_start (tick_sched_timer)
      1 |        12D|        preinit | cpufreq_governor_dbs (delayed_work_timer_fn)
  1042 |          7 |      bme_RX-51 | sys_timer_settime (posix_timer_fn)
    45 |          6 |          mmcqd | schedule_timeout (process_timeout)
    45 |          3 |          mmcqd | queue_delayed_work (delayed_work_timer_fn)
  1164 |          3 |          Xorg | queue_delayed_work (delayed_work_timer_fn)
  1042 |          3 |      bme_RX-51 | schedule_timeout (process_timeout)
    823 |          3 |          dsme | do_nanosleep (hrtimer_wakeup)
    823 |          3 |          dsme | __enqueue_rt_entity (sched_rt_period_timer)
  1135 |          2 |      sgx_perf | queue_delayed_work (delayed_work_timer_fn)
  1042 |          2 |      bme_RX-51 | sys_timer_settime (posix_timer_fn)
  1042 |          2 |      bme_RX-51 | do_nanosleep (hrtimer_wakeup)
    857 |          2D|<kernel module> | queue_delayed_work (delayed_work_timer_fn)
      0 |          1 |  <kernel core> | queue_delayed_work (delayed_work_timer_fn)
      1 |          1D|  <kernel core> | queue_delayed_work (delayed_work_timer_fn)
      1 |          1 |  <kernel core> | queue_delayed_work (delayed_work_timer_fn)
  1406 |          1 |          iphbd | schedule_hrtimeout_range (hrtimer_wakeup)
  1958 |          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:  97%|RET:  0%|INA:  0%| ON:  2%| now:(OFF)
    per |OFF:  96%|RET:  2%|INA:  0%| ON:  0%| 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:  88%|RET:  7%|INA:  0%| ON:  3%| now:(ON)
  neon |OFF:  88%|RET:  9%|INA:  2%| ON:  0%| now:(ON)
    mpu |OFF:  88%|RET:  9%|INA:  2%| ON:  0%| 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 |          SR1 |          SR2
        |
  ckgen |          CORE |          PERI |          96M
        |          48M |          12M |          54M
        |      EMU_CORE |
    per |        GPIO2 |        GPIO3 |        GPIO4
        |        GPIO5 |        GPIO6 |

Total wakeups  490,  16.3/s | IRQ  364,  12.1/s | Timers  126,  4.2/s
HW wakeups      87,  2.9/s |    Real gp_timers expired  91,  3.0/s


Anazif 2011-10-03 09:33

Re: High Battery Consumption
 
Quote:

Originally Posted by StocChr (Post 957110)
hi guys,

the battery consumption of my n900 drives me crazy.

charge over-night

10 hours of Standby ( with Bluetooth and 3G Internet ) and 1 hour talk time and the battery have to be loaded

this really sucks, any ideas?

cheers

I experienced similar problem with my N900, eventually I noticed that anytime I start the internal browser, the battery consumption peaks afterwards, even after closing the browser. So anytime I start the browser I had to restart the device to prevent the high power consumption. So what I did was to download a third party browser which I now use and I stopped using the original maemo browser entirely. Now my power usage has improved and I get longer battery time.

StocChr 2011-11-30 07:06

Re: High Battery Consumption
 
hi,
i have tested my device after a power-cycle (with battery removal).
the results are more than depressing. i can't say that kp49 is 100% responsible for this.
so if it's so, sorry for off topic, but maybe someone can help me to get a working device back.

i have charged my device till 19:00, the battery lasts till 04:00
9 hours in offline mode with obviously no cpu usage and no usage

what the hell is going on with me device?

http://www.id-t.at/data/kp49-2.png

i performed powertop befor testing, the output seems more than nice:
Code:

Nokia-N900:~# powertop
Powertop 1.13.3
status: Unknown job: pmtrackerdaemon
Sleeping for 11 seconds before sampling
Collecting data for 30 seconds
Sample interval was 00m 30s 6226us

C#      | Ratio  | Avg/dura | Frequency | Ratio
--------+--------+----------+-----------+--------+
    C0 |  0.4% |          |  1150 MHz |  nan% |
    C1 |  0.1% |    0.4ms |
    C2 |  3.0% |    5.6ms |
    C3 |  6.3% |  72.1ms |
    C4 |  90.2% | 1690.7ms |

IRQ#    | Activity  | Type          | Name
--------+------------+----------------+---------------------------
    12 |        398 |          INTC | DMA
    56 |        152 |          INTC | i2c_omap
    37 |        90 |          INTC | gp
    57 |        50 |          INTC | i2c_omap
    86 |        17 |          INTC | mmc1
    202 |        17 |          GPIO | wl1251
    11 |        10 |          INTC | prcm
    21 |          9 |          INTC | SGX

PID#    | Activity  | Name          | Function Entry (Expire)
--------+------------+----------------+---------------------------
      0 |        30 |  <kernel core> | hrtimer_start (tick_sched_timer)
      0 |        27 |  <kernel core> | tick_nohz_restart_sched_tick (tick_sched_timer)
    744 |        22 |        wl12xx | schedule_timeout (process_timeout)
  2098 |        19 |    osso-xterm | schedule_hrtimeout_range (hrtimer_wakeup)
      1 |        15D|        preinit | cpufreq_governor_dbs (delayed_work_timer_fn)
    744 |        10 |        wl12xx | queue_delayed_work (delayed_work_timer_fn)
    869 |          9 |      bme_RX-51 | sys_timer_settime (posix_timer_fn)
    45 |          3 |          mmcqd | queue_delayed_work (delayed_work_timer_fn)
  1186 |          3 |          Xorg | queue_delayed_work (delayed_work_timer_fn)
    744 |          3 |        wl12xx | schedule_timeout (process_timeout)
  1511 |          3 |      wlancond | ieee80211_ioctl_siwpower (ieee80211_dynamic_ps_timer)
    869 |          3 |      bme_RX-51 | schedule_timeout (process_timeout)
    826 |          3 |          dsme | do_nanosleep (hrtimer_wakeup)
    826 |          3 |          dsme | __enqueue_rt_entity (sched_rt_period_timer)
      1 |          3D|  <kernel core> | queue_delayed_work (delayed_work_timer_fn)
  1139 |          2 |      sgx_perf | queue_delayed_work (delayed_work_timer_fn)
    869 |          2 |      bme_RX-51 | do_nanosleep (hrtimer_wakeup)
    853 |          2D|<kernel module> | queue_delayed_work (delayed_work_timer_fn)
    14 |          1 |        pdflush | journal_get_write_access (commit_timeout)
      1 |          1 |  <kernel core> | inet_initpeers (peer_check_expire)
  2113 |          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:  97%|RET:  0%|INA:  0%| ON:  2%| now:(OFF)
    per |OFF:  0%|RET:  0%|INA:  0%| ON: 100%| 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:  0%|RET:  0%|INA:  0%| ON: 100%| now:(ON)
  neon |OFF:  90%|RET:  6%|INA:  2%| ON:  0%| now:(ON)
    mpu |OFF:  90%|RET:  6%|INA:  2%| ON:  0%| now:(ON)
  iva2 |OFF:  0%|RET:  0%|INA:  0%| ON: 100%| now:(ON)

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

Total wakeups  908,  30.3/s | IRQ  743,  24.8/s | Timers  165,  5.5/s
HW wakeups      10,  0.3/s |    Real gp_timers expired  90,  3.0/s


HELLASISGREECE 2011-11-30 08:06

Re: High Battery Consumption
 
^ kp 49 was responsible in my case.

had no problems with 48

StocChr 2011-11-30 08:19

Re: High Battery Consumption in Standby
 
and what was your solution?

vi_ 2011-11-30 09:27

Re: High Battery Consumption in Standby
 
First off all make sure you have 'pastebinit' installed (apt-get install pastebinit)

1. Put device in offline mode.
2. Turn off device.
3. Remove battery.
4. Insert battery.
5. Power on.
6. Stay in offline mode.
7. Wait 4 minutes (for device to settle).
8. Run this code as root:

Code:

sleep 10; powertop > ./out; powertop >> ./out; powertop >> ./out
9. Immediately lock the screen and leave it for 5 minutes.
10. Connect to the internet and type in:

Code:

pastebinit ./out
11. Paste URL here.

vi_ 2011-11-30 09:29

Re: High Battery Consumption in Standby
 
THEN, remove kernel-power-settings and do the same again.

Post results.

freemangordon 2011-11-30 10:19

Re: High Battery Consumption in Standby
 
Quote:

Originally Posted by vi_ (Post 1130934)
THEN, remove kernel-power-settings and do the same again.

Post results.

Will you give me some hint on how KPS correlate with the fact that:

# per |OFF: 0%|RET: 0%|INA: 0%| ON: 100%| now:(ON)
# core |OFF: 0%|RET: 0%|INA: 0%| ON: 100%| now:(ON)
# iva2 |OFF: 0%|RET: 0%|INA: 0%| ON: 100%| now:(ON)


WTF?

StocChr 2011-11-30 10:31

Re: High Battery Consumption in Standby
 
2.6.28.10-power49 with kernel-power-settings
http://pastebin.com/tH0A89yJ

2.6.28.10-power49 without kernel-power-settings
http://pastebin.com/59M1Z1uf

2.6.28-omap1
http://pastebin.com/gpNkK62D


All times are GMT. The time now is 18:18.

vBulletin® Version 3.8.8