View Single Post
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#1488
weird, I can't reproduce your high battery usage, this is my powertop output, device in offline mode:
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 23255us

C#      | Ratio  | Avg/dura | Frequency | Ratio
--------+--------+----------+-----------+--------+
     C0 |   0.9% |          |  1150 MHz |   nan% |
     C1 |   0.0% |    0.2ms | 
     C2 |   0.4% |    3.6ms | 
     C3 |   2.4% |  178.0ms | 
     C4 |  96.3% | 1701.2ms | 

IRQ#    | Activity   | Type           | Name
--------+------------+----------------+---------------------------
     56 |         90 |           INTC | i2c_omap
     37 |         73 |           INTC | gp
     11 |         44 |           INTC | prcm
     57 |         28 |           INTC | i2c_omap
     12 |          2 |           INTC | DMA
     21 |          2 |           INTC | SGX
    225 |          2 |           GPIO | omap2-onenand

PID#    | Activity   | Name           | Function Entry (Expire)
--------+------------+----------------+---------------------------
      0 |         38 |  <kernel core> | tick_nohz_restart_sched_tick (tick_sched_timer)
     38 |         13D|            awk | cpufreq_governor_dbs (delayed_work_timer_fn)
      0 |          9 |  <kernel core> | hrtimer_start (tick_sched_timer)
    770 |          5 |      bme_RX-51 | sys_timer_settime (posix_timer_fn)
   1824 |          4 |       browserd | futex_wait (hrtimer_wakeup)
   6411 |          3 |     osso-xterm | schedule_hrtimeout_range (hrtimer_wakeup)
   1790 |          3 |osso-addressboo | queue_delayed_work (delayed_work_timer_fn)
    716 |          3 |           dsme | __enqueue_rt_entity (sched_rt_period_timer)
    770 |          2 |      bme_RX-51 | sys_timer_settime (posix_timer_fn)
    770 |          2 |      bme_RX-51 | do_nanosleep (hrtimer_wakeup)
    770 |          2 |      bme_RX-51 | schedule_timeout (process_timeout)
    716 |          2 |           dsme | do_nanosleep (hrtimer_wakeup)
      1 |          2D|  <kernel core> | queue_delayed_work (delayed_work_timer_fn)
    623 |          1 |          mmcqd | queue_delayed_work (delayed_work_timer_fn)
     13 |          1 |        pdflush | ubifs_wbuf_write_nolock (wbuf_timer_callback_nolock)
     13 |          1 |        pdflush | ubifs_wbuf_write_nolock (wbuf_timer_callback_nolock)
   2481 |          1 |        skyhost | sk_reset_timer (tcp_write_timer)
    733 |          1 |        syslogd | hrtimer_start (it_real_fn)
      1 |          1 |  <kernel core> | inet_initpeers (peer_check_expire)
    766 |          1D|<kernel module> | queue_delayed_work (delayed_work_timer_fn)
   2463 |          1 |telepathy-gabbl | sk_reset_timer (tcp_write_timer)
   2463 |          1 |telepathy-gabbl | sk_reset_timer (tcp_write_timer)
   6321 |          1 |       browserd | sk_reset_timer (tcp_write_timer)
    999 |          1 |            mce | schedule_hrtimeout_range (hrtimer_wakeup)
   1820 |          1 |       browserd | futex_wait (hrtimer_wakeup)
   1405 |          1 |hildon-status-m | schedule_hrtimeout_range (hrtimer_wakeup)
   6427 |          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:  99%|RET:   0%|INA:   0%| ON:   0%| now:(OFF)
    per |OFF:  98%|RET:   0%|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:  96%|RET:   2%|INA:   0%| ON:   1%| now:(ON)
   neon |OFF:  96%|RET:   2%|INA:   0%| ON:   0%| now:(ON)
    mpu |OFF:  96%|RET:   2%|INA:   0%| 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   343,  11.4/s | IRQ  241,   8.0/s | Timers  102,   3.4/s
HW wakeups       44,   1.5/s |     Real gp_timers expired   73,   2.4/s
Nokia-N900:~#
I am on the latest cssu-thumb, but that should not make any difference. Btw there is very high IRQ count in your powertop outputs, under what conditions did you take those?
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following 2 Users Say Thank You to freemangordon For This Useful Post: