| Prev |   1   2   3     4   12 | Next | Last
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)

StocChr 2011-03-01 07:22

Re: High Battery Consumption
 
hello,

i installed battery graph and watched the battery over night:
8.00pm-10.00pm: charging
10.00pm-7.30am: handy idle
7.30am-8.00am: telephon call
8.00am: automatically shut down

12 hours standby and 0,5 hour voice call and the battery is dead
http://www.id-t.at/data/batterygraph.jpg

cpu usage seems to be normal!
maybe the battery should be replaced?

any other hints?

cheers

vi_ 2011-03-01 07:40

Re: High Battery Consumption
 
Are you mad? Your CPU isn't reaching sleeping mode (C4), no wonder your battery life is toast. Please paste the output of powertop. Rerun top and WATCH it. what is the NICE load shown at the top?

StocChr 2011-03-01 07:49

Re: High Battery Consumption
 
powertop:
C0 - 13,8%
C1 - 86,2%
C2 - 0,0%
C3 - 0,0%
C4 - 0,0%

top:
CPU 6%
usr: 9%
nice: 85%
idle: 0%

vi_ 2011-03-01 08:03

Re: High Battery Consumption
 
Right, so we have a background process hosing yer juice. Lets just confirm you are disconnected while taking these readings?

Install powertop as below:

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

Then provide that output. I can smell a runaway kernel thread!

zimon 2011-03-01 08:06

Re: High Battery Consumption
 
You could run powertop for a while when the device seem to be idle and not in use. You will know from the output if something keeps CPU busy.

Code:

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

C#      | Ratio  | Avg/dura | Frequency | Ratio
--------+--------+----------+-----------+--------+
    C0 |  2.6% |          |  1150 MHz |  nan% |
    C1 |  0.3% |    0.2ms |
    C2 |  3.9% |    2.2ms |
    C3 |  23.3% |  282.2ms |
    C4 |  69.9% |  750.6ms |
...


StocChr 2011-03-01 08:08

Re: High Battery Consumption
 
powertop:
C0 - 8,3%
C1 - 91,7%
C2 - 0,0%
C3 - 0,0%
C4 - 0,0%

top:
CPU 6%
usr: 9%
nice: 85%
idle: 0%

vi_ 2011-03-01 08:09

Re: High Battery Consumption
 
wtf is this? Post THE ENTIRE output of powertop. If you want help, help yourself by helping us help you!

vi_ 2011-03-01 08:10

Re: High Battery Consumption
 
Quote:

Originally Posted by zimon (Post 957861)
You could run powertop for a while when the device seem to be idle and not in use. You will know from the output if something keeps CPU busy.

Code:

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

C#      | Ratio  | Avg/dura | Frequency | Ratio
--------+--------+----------+-----------+--------+
    C0 |  2.6% |          |  1150 MHz |  nan% |
    C1 |  0.3% |    0.2ms |
    C2 |  3.9% |    2.2ms |
    C3 |  23.3% |  282.2ms |
    C4 |  69.9% |  750.6ms |
...


ignore this horseshit, just run powertop with no -t parameter.

StocChr 2011-03-01 08:12

Re: High Battery Consumption
 
Code:

~ $ powertop
Powertop 1.13.3
sh: status: not found
Sleeping for 6 seconds before sampling
Collecting data for 30 seconds
Sample interval was 00m 30s 5524us

C#      | Ratio  | Avg/dura | Frequency | Ratio
--------+--------+----------+-----------+--------+
    C0 |  8.3% |          |  1150 MHz |  nan% |
    C1 |  91.7% |  125.0ms |
    C2 |  0.0% |          |
    C3 |  0.0% |          |
    C4 |  0.0% |          |

IRQ#    | Activity  | Type          | Name
--------+------------+----------------+---------------------------
    37 |        452 |          INTC | gp
    56 |        155 |          INTC | i2c_omap
    57 |        51 |          INTC | i2c_omap
    86 |        39 |          INTC | mmc1
    61 |          8 |          INTC | i2c_omap
    12 |          7 |          INTC | DMA
    21 |          2 |          INTC | SGX
    225 |          2 |          GPIO | omap2-onenand
    341 |          1 |          GPIO | lis302dl
Segmentation fault


Switch_ 2011-03-01 08:17

Re: High Battery Consumption
 
"Normal" CPU Usage.

http://i208.photobucket.com/albums/b...0301080852.png

I had this issue previously wehre the proc was never reaching a C4 sleep but on removal of Pedometer Home Widget suddenly battery life returned to normal and my proc spent ~80% of it's time in C4 sleep. It also went from ~30,000 HW wakeups to ~700 in Powertop.

Post up the output of
Code:

lshal | grep battery
so that we can check your battery isn't borked - then reboot, wait for 3 minutes until system is fully loaded, run powertop from terminal, lock the screen and keys and post up the output too.


| Prev |   1   2   3     4   12 | Next | Last
All times are GMT. The time now is 20:19.

vBulletin® Version 3.8.8