View Single Post
Posts: 2,829 | Thanked: 1,459 times | Joined on Dec 2009 @ Finland
#134
(relates to previous post)
Setup for powertop was following:

- Close all open windows (2g, wifi connected but no accounts online)
- Open x terminal
--> sudo gainroot
--> powertop > filename.txt
- minimize x terminal
- go to desktop
- close keyboard
- lock device with switch
- Leave it on table for 1 minute
- check results

Results (more detailed as attachments)
Before reboot:

Code:
C#      | Ratio  | Avg/dura | Frequency | Ratio
--------+--------+----------+-----------+--------+
     C0 |   4.8% |          |   600 MHz |   1.5% |
     C1 |   0.1% |    0.5ms |   550 MHz |   0.0% |
     C2 |  95.1% |    9.1ms |   500 MHz |   2.0% |
     C3 |   0.0% |          |   250 MHz |  96.6% |
     C4 |   0.0% |          | 

IRQ#    | Activity   | Type           | Name
--------+------------+----------------+---------------------------
     12 |       3086 |           INTC | DMA
     56 |        251 |           INTC | i2c_omap
     37 |        222 |           INTC | gp
     86 |        172 |           INTC | mmc1
     57 |         34 |           INTC | i2c_omap
     21 |         10 |           INTC | SGX

Power domain activity breakdown
Domain  | % of time spent in states
--------+---------+---------+---------+---------+----------
    per |OFF:   0%|RET:   0%|INA:   0%| ON: 100%| now:(ON)
   core |OFF:   0%|RET:   0%|INA:   0%| ON: 100%| now:(ON)

Total wakeups  4047
After reboot:
Code:
C#      | Ratio  | Avg/dura | Frequency | Ratio
--------+--------+----------+-----------+--------+
     C0 |   1.7% |          |   600 MHz |   4.3% |
     C1 |   0.0% |    0.4ms |   550 MHz |   0.0% |
     C2 |   4.2% |   11.3ms |   500 MHz |   3.1% |
     C3 |   8.9% |  107.4ms |   250 MHz |  92.6% |
     C4 |  85.2% |  983.3ms | 

IRQ#    | Activity   | Type           | Name
--------+------------+----------------+-----------
     56 |        330 |           INTC | i2c_omap
     86 |        157 |           INTC | mmc1
     12 |        156 |           INTC | DMA
     37 |        126 |           INTC | gp
     11 |         69 |           INTC | prcm
     57 |         34 |           INTC | i2c_omap
    202 |          4 |           GPIO | wl1251
Power domain activity breakdown
Domain  | % of time spent in states
--------+---------+---------+---------+---------+----------
    per |OFF:  93%|RET:   4%|INA:   0%| ON:   1%| now:(ON)
   core |OFF:  85%|RET:   8%|INA:   0%| ON:   5%| now:(ON)
Total wakeups  1072
SO. Even I did not see anything running with high cpu in top my device was still using battery at very high rate at idle (previous post). From powertop entry we can see that something is keeping processor in C2 state and waking up it constanlty and depleting my battery.

I do not know what all the terms and devices in powertop mean but i do understand it in generally. I do not know how to reproduce what I experienced. Is there any wiki entry and total breakdown about how you can read it, what you can see from it and when you should report and what report and so on and so on.
Attached Files
File Type: txt powertop_before_reboot.txt (4.2 KB, 90 views)
File Type: txt powertop_after_reboot.txt (4.5 KB, 93 views)

Last edited by slender; 2010-02-25 at 12:35. Reason: keyboard closing
 

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