| 1   2     3   | 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-02-28 09:01

High Battery Consumption in Standby
 
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

maemo55 2011-02-28 09:21

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

open Xterminal

type

Code:

top
see which program use high cpu

efekt 2011-02-28 09:24

Re: High Battery Consumption
 
Check my thread - I have more or less the same problem, I didn't find a solution but throughout the thread some people offered help - you might find your solution in it:
http://talk.maemo.org/showthread.php?t=65965

StocChr 2011-02-28 09:24

Re: High Battery Consumption
 
4-6% CPU usage

most: xorg 1-2%

slender 2011-02-28 09:25

Re: High Battery Consumption
 
Quote:

Originally Posted by StocChr (Post 957110)
...any ideas?

Learn to use power search from right menu of this webpage.

Joseph.skb 2011-02-28 09:39

Re: High Battery Consumption
 
How long have you used this battery?

Time for a replacement?

StocChr 2011-02-28 09:42

Re: High Battery Consumption
 
appr. 12 months

Char 2011-02-28 09:53

Re: High Battery Consumption
 
my battery also went almost flat today. killed the charger at about 9am. returned home at 1:30pm and I had 2% battery left. BatteryGraph shows the CPU running constnatly over 50%. I will do some research and return.

9000 2011-02-28 10:05

Re: High Battery Consumption
 
Quote:

Originally Posted by ryan.campini (Post 957126)
my problem went away after uninstalling advanced clock plugin and advanced power monitor+ daemon.

It's definitely the answer that OP and the rest should take seriously.

geneven 2011-02-28 10:34

Re: High Battery Consumption
 
I'm using advanced clock plugin and am not having high battery consumption.

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.

vi_ 2011-03-01 08:17

Re: High Battery Consumption
 
-_-' dude, run as root.

1. Set phone to offline mode
2. Shutdown phone
3. Take out battery for 10s
4. Take out memory card (if you have one)
5. Reboot phone
6. tell phone to stay offline.
7. wait ~4 minutes (while phone settles (should still be offline mode))
8. open xterm
9. become root
10. start powertop, shut keyboard and press lock slide.
11. leave phone for 50s
12. paste output

From the little you pasted above somthing is keeping your CPU awake, just gotta see what it is.

vi_ 2011-03-01 08:19

Re: High Battery Consumption
 
Quote:

Originally Posted by Switch_ (Post 957869)
"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.

Oh yeah, I knew you were familiar switch. We have already been through this dance!

Switch_ 2011-03-01 08:23

Re: High Battery Consumption
 
Quote:

Originally Posted by vi_ (Post 957872)
Oh yeah, I knew you were familiar switch. We have already been through this dance!

Hell yeh big boy, we certainly have.....! Fixed it though, good and proper - I can stretch to 2 days normal usage now, thanks to you and @ndi.

StocChr 2011-03-01 08:29

Re: High Battery Consumption
 
here we go...

Code:

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

C#      | Ratio  | Avg/dura | Frequency | Ratio
--------+--------+----------+-----------+--------+
    C0 |  9.3% |          |  1150 MHz |  nan% |
    C1 |  90.7% |  118.9ms |
    C2 |  0.0% |          |
    C3 |  0.0% |          |
    C4 |  0.0% |          |

IRQ#    | Activity  | Type          | Name
--------+------------+----------------+---------------------------
    37 |        512 |          INTC | gp
    56 |        155 |          INTC | i2c_omap
    57 |        43 |          INTC | i2c_omap
    86 |        33 |          INTC | mmc1
    21 |        10 |          INTC | SGX
    12 |          7 |          INTC | DMA
    225 |          1 |          GPIO | omap2-onenand

PID#    | Activity  | Name          | Function Entry (Expire)
--------+------------+----------------+---------------------------
      0 |        411 |  <kernel core> | tick_nohz_restart_sched_tick (tick_sched_timer)
    674 |        46D|  kernel-config | cpufreq_governor_dbs (delayed_work_timer_fn)
  2777 |        30 |          fmtxd | schedule_hrtimeout_range (hrtimer_wakeup)
  3058 |        19 |    osso-xterm | schedule_hrtimeout_range (hrtimer_wakeup)
    649 |        18 |          dsme | __enqueue_rt_entity (sched_rt_period_timer)
      0 |        14 |  <kernel core> | hrtimer_start (tick_sched_timer)
    691 |          8 |      bme_RX-51 | sys_timer_settime (posix_timer_fn)
    566 |          5 |          mmcqd | schedule_timeout (process_timeout)
    691 |          4 |      bme_RX-51 | schedule_timeout (process_timeout)
  1001 |          3 |          Xorg | queue_delayed_work (delayed_work_timer_fn)
    649 |          3 |          dsme | do_nanosleep (hrtimer_wakeup)
    566 |          3 |          mmcqd | queue_delayed_work (delayed_work_timer_fn)
      1 |          3D|  <kernel core> | queue_delayed_work (delayed_work_timer_fn)
    964 |          2 |      sgx_perf | queue_delayed_work (delayed_work_timer_fn)
    691 |          2 |      bme_RX-51 | sys_timer_settime (posix_timer_fn)
    691 |          2 |      bme_RX-51 | do_nanosleep (hrtimer_wakeup)
    917 |          2 |            sh | setup_wb_timer (wb_timer_fn)
    678 |          2D|<kernel module> | queue_delayed_work (delayed_work_timer_fn)
  1001 |          1 |          Xorg | hrtimer_start (it_real_fn)
  1326 |          1 | hildon-desktop | schedule_hrtimeout_range (hrtimer_wakeup)
  3162 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3176 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3190 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3204 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  1323 |          1 |    hildon-home | queue_delayed_work (delayed_work_timer_fn)
  3218 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3232 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3246 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3260 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3274 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3288 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3302 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3316 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3330 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
    716 |          1 |    dbus-daemon | schedule_hrtimeout_range (hrtimer_wakeup)
    13 |          1 |        pdflush | blk_plug_device (blk_unplug_timeout)
  3344 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3118 |          1 |      powertop | do_nanosleep (hrtimer_wakeup)

Power domain activity breakdown
Domain  | % of time spent in states
--------+---------+---------+---------+---------+----------
usbhost |OFF:  0%|RET: 100%|INA:  0%| ON:  0%| now:(RET)
    sgx |OFF:  97%|RET:  0%|INA:  0%| ON:  2%| now:(OFF)
    per |OFF:  0%|RET:  0%|INA:  0%| ON: 100%| now:(ON)
    dss |OFF:  0%|RET: 100%|INA:  0%| ON:  0%| now:(RET)
    cam |OFF:  0%|RET: 100%|INA:  0%| ON:  0%| now:(RET)
  core |OFF:  0%|RET:  0%|INA:  0%| ON: 100%| now:(ON)
  neon |OFF:  0%|RET:  0%|INA:  0%| ON: 100%| now:(ON)
    mpu |OFF:  0%|RET:  0%|INA:  0%| ON: 100%| 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
        |
  ckgen |          CORE |          PERI |          96M
        |          48M |          12M |          54M
        |      EMU_CORE |
    per |        GPIO2 |        GPIO3 |        GPIO4
        |        GPIO5 |        GPIO6 |

Total wakeups  1358,  45.3/s | IRQ  761,  25.4/s | Timers  597,  19.9/s
HW wakeups        0,  0.0/s |    Real gp_timers expired    0,  0.0/s


zimon 2011-03-01 08:35

Re: High Battery Consumption
 
fmtxd ?
You are transmitting FM 24/7?

Switch_ 2011-03-01 08:36

Re: High Battery Consumption
 
Are you running on power-kernel?

StocChr 2011-03-01 08:37

Re: High Battery Consumption
 
nope, the phone was in offline modus
and i don't transmitting FM 24/7 :)

StocChr 2011-03-01 08:37

Re: High Battery Consumption
 
Quote:

Originally Posted by Switch_ (Post 957884)
Are you running on power-kernel?

yes 2.6.28.10power46

vi_ 2011-03-01 09:00

Re: High Battery Consumption
 
Quote:

Originally Posted by StocChr (Post 957879)
here we go...

Code:

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

C#      | Ratio  | Avg/dura | Frequency | Ratio
--------+--------+----------+-----------+--------+
    C0 |  9.3% |          |  1150 MHz |  nan% |
    C1 |  90.7% |  118.9ms |
    C2 |  0.0% |          |
    C3 |  0.0% |          |
    C4 |  0.0% |          |

IRQ#    | Activity  | Type          | Name
--------+------------+----------------+---------------------------
    37 |        512 |          INTC | gp
    56 |        155 |          INTC | i2c_omap
    57 |        43 |          INTC | i2c_omap
    86 |        33 |          INTC | mmc1
    21 |        10 |          INTC | SGX
    12 |          7 |          INTC | DMA
    225 |          1 |          GPIO | omap2-onenand

PID#    | Activity  | Name          | Function Entry (Expire)
--------+------------+----------------+---------------------------
      0 |        411 |  <kernel core> | tick_nohz_restart_sched_tick (tick_sched_timer)
    674 |        46D|  kernel-config | cpufreq_governor_dbs (delayed_work_timer_fn)
  2777 |        30 |          fmtxd | schedule_hrtimeout_range (hrtimer_wakeup)
  3058 |        19 |    osso-xterm | schedule_hrtimeout_range (hrtimer_wakeup)
    649 |        18 |          dsme | __enqueue_rt_entity (sched_rt_period_timer)
      0 |        14 |  <kernel core> | hrtimer_start (tick_sched_timer)
    691 |          8 |      bme_RX-51 | sys_timer_settime (posix_timer_fn)
    566 |          5 |          mmcqd | schedule_timeout (process_timeout)
    691 |          4 |      bme_RX-51 | schedule_timeout (process_timeout)
  1001 |          3 |          Xorg | queue_delayed_work (delayed_work_timer_fn)
    649 |          3 |          dsme | do_nanosleep (hrtimer_wakeup)
    566 |          3 |          mmcqd | queue_delayed_work (delayed_work_timer_fn)
      1 |          3D|  <kernel core> | queue_delayed_work (delayed_work_timer_fn)
    964 |          2 |      sgx_perf | queue_delayed_work (delayed_work_timer_fn)
    691 |          2 |      bme_RX-51 | sys_timer_settime (posix_timer_fn)
    691 |          2 |      bme_RX-51 | do_nanosleep (hrtimer_wakeup)
    917 |          2 |            sh | setup_wb_timer (wb_timer_fn)
    678 |          2D|<kernel module> | queue_delayed_work (delayed_work_timer_fn)
  1001 |          1 |          Xorg | hrtimer_start (it_real_fn)
  1326 |          1 | hildon-desktop | schedule_hrtimeout_range (hrtimer_wakeup)
  3162 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3176 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3190 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3204 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  1323 |          1 |    hildon-home | queue_delayed_work (delayed_work_timer_fn)
  3218 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3232 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3246 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3260 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3274 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3288 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3302 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3316 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3330 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
    716 |          1 |    dbus-daemon | schedule_hrtimeout_range (hrtimer_wakeup)
    13 |          1 |        pdflush | blk_plug_device (blk_unplug_timeout)
  3344 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3118 |          1 |      powertop | do_nanosleep (hrtimer_wakeup)

Power domain activity breakdown
Domain  | % of time spent in states
--------+---------+---------+---------+---------+----------
usbhost |OFF:  0%|RET: 100%|INA:  0%| ON:  0%| now:(RET)
    sgx |OFF:  97%|RET:  0%|INA:  0%| ON:  2%| now:(OFF)
    per |OFF:  0%|RET:  0%|INA:  0%| ON: 100%| now:(ON)
    dss |OFF:  0%|RET: 100%|INA:  0%| ON:  0%| now:(RET)
    cam |OFF:  0%|RET: 100%|INA:  0%| ON:  0%| now:(RET)
  core |OFF:  0%|RET:  0%|INA:  0%| ON: 100%| now:(ON)
  neon |OFF:  0%|RET:  0%|INA:  0%| ON: 100%| now:(ON)
    mpu |OFF:  0%|RET:  0%|INA:  0%| ON: 100%| 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
        |
  ckgen |          CORE |          PERI |          96M
        |          48M |          12M |          54M
        |      EMU_CORE |
    per |        GPIO2 |        GPIO3 |        GPIO4
        |        GPIO5 |        GPIO6 |

Total wakeups  1358,  45.3/s | IRQ  761,  25.4/s | Timers  597,  19.9/s
HW wakeups        0,  0.0/s |    Real gp_timers expired    0,  0.0/s



C1 | 90.7% | 118.9ms |

So CPU is never going below C2.

37 | 512 | INTC | gp

There is too high a level of activity on gp (GPIO?)

0 | 411 | <kernel core> | tick_nohz_restart_sched_tick

Kernel keeps awakening the computer (due to hardware wakeup)

per |OFF: 0%|RET: 0%|INA: 0%| ON: 100%| now:(ON)
dss |OFF: 0%|RET: 100%|INA: 0%| ON: 0%| now:(RET)
cam |OFF: 0%|RET: 100%|INA: 0%| ON: 0%| now:(RET)
core |OFF: 0%|RET: 0%|INA: 0%| ON: 100%| now:(ON)
neon |OFF: 0%|RET: 0%|INA: 0%| ON: 100%| now:(ON)
mpu |OFF: 0%|RET: 0%|INA: 0%| ON: 100%| now:(ON)


All this **** should be switched off.

It looks like you are running a program/process that is (possibly) polling the hardware (IRQ counts is WAAAY too high).

As to which program that is I cannot say. Things like advanced battery monitor, desktop widgets that are set to update all the time.

You have removed all widgets from the desktop right? You did wait at least 4 minutes before running powertop right?

Can you post the output of the top command? Just type

Code:

top > top_out.txt
and upload the file.

Switch_ 2011-03-01 09:03

Re: High Battery Consumption
 
Secondary to the above power46 is in -devel and shouldn't be installed as it is not fully optimised for end-users. power42 is the latest stable release of the kernel in -extras.

StocChr 2011-03-01 09:14

Re: High Battery Consumption
 
1 Attachment(s)
hi, you can find attached the output file

following widgets i have runing:

foreca weather: update every hour
calendar home widget
simple fmtx widget
media player widget
personal data plan monitor widget

slender 2011-03-01 09:17

Re: High Battery Consumption
 
/rant
Sorry guys I do not have any more juice to write again all fck stuff that has been said across this board already and that can be found from maemo wiki. It just pisses me off.

Most of stuff is not obvious but after reading wiki and other user use cases and reports you tend to get picture what to do. Thatīs called researching, learning and respecting others.

To orginal poster, Iīm facepalming while Iīm saying this:
- Remove widgets
- Revert back to default speed
- Check for background daemons or apps that install stuff that stays on in background or alter maemo OS or jump starts from d-bus hooks (apmefo, recaller etc. you get the point), use top and htop apps for this.
- Take as much as possible modules/features off before running powertop (I have listed these in other thread please read it)
- After you have disabled most of stuff and powertop still gives you device that doesnīt enter sleep then itīs probably time to flash it. If not then start one-by-one enabling stuff and see when battery consumption jumps. E.g. put half of widgets on and test for couple of days -> if consumption high then again disable half of widgets....reapeat until you find your misbehaving app/widget/daemon etc.

- I do not even understand why Iīm repeating this stuff that should be obvious for people who start overclocking and most probably installing stuff from testing/devel.

I hope that you find resolution and post some helpful info here. Good luck.

StocChr 2011-03-01 09:21

Re: High Battery Consumption
 
thanks slender,
but i had these problems long before overclocking, cssu and other things...
if we find the reason, we will post it here, thanks

slender 2011-03-01 09:28

Re: High Battery Consumption
 
Quote:

Originally Posted by StocChr (Post 957911)
thanks slender,
but i had these problems long before overclocking, cssu and other things...
if we find the reason, we will post it here, thanks

Sorry but it doesnīt matter what you assume to know. For "standardized" testing and easiness for comparing to other people N900s it is always good to start from "zero"-level. It might be troublesome at first but if we repeat it* n-times it tends to be best way to debug stuff. Just start from "blank".


*Meaning different kind of people with different kind of cases where they have problem with cpu not entering to sleep state or unusual high battery consumption.

vi_ 2011-03-01 09:32

Re: High Battery Consumption
 
Quote:

Originally Posted by vi_ (Post 957870)
-_-' dude, run as root.

1. Set phone to offline mode
2. Shutdown phone
3. Take out battery for 10s
4. Take out memory card (if you have one)
5. Reboot phone
6. tell phone to stay offline.
7. wait ~4 minutes (while phone settles (should still be offline mode))
8. open xterm
9. become root
10. start powertop, shut keyboard and press lock slide.
11. leave phone for 50s
12. paste output

From the little you pasted above somthing is keeping your CPU awake, just gotta see what it is.

............................................______ __
....................................,.-'"...................``~.,
.............................,.-"..................................."-.,
.........................,/...............................................":,
.....................,?........................... ...........................\,
.................../.................................................. .........,}
................./.................................................. ....,:`^`..}
.............../.................................................. .,:"........./
..............?.....__............................ .............:`.........../
............./__.(....."~-,_..............................,:`........../
.........../(_...."~,_........"~,_....................,:`..... ..._/
..........{.._$;_......"=,_......."-,_.......,.-~-,},.~";/....}
...........((.....*~_......."=-._......";,,./`..../"............../
...,,,___.\`~,......"~.,....................`..... }............../
............(....`=-,,.......`........................(......;_,,-"
............/.`~,......`-...............................\....../\
.............\`~.*-,.....................................|,./.....\,__
,,_..........}.>-._\...................................|........... ...`=~-,
.....`=~-,_\_......`\,.................................\
...................`=~-,,.\,...............................\
................................`:,,.............. .............`\..............__
.....................................`=-,...................,%`>--==``
........................................_\........ ..._,-%.......`\
...................................,<`.._|_,-&``................`


Disable all widgets and try again.

Make sure you wait 4 minutes this time.

StocChr 2011-03-01 09:43

Re: High Battery Consumption
 
i did this without widgets no C2-C4 cpu usage
but i will post it in 5 minutes again...

zimon 2011-03-01 09:48

Re: High Battery Consumption
 
Use -t option with powertop to get longer sample ;-)

I'd try to kill fmtxd from running processes. It seem to wake up CPU once every second.

StocChr 2011-03-01 10:02

Re: High Battery Consumption
 
1 Attachment(s)
once again, with clear desktops...

Code:

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

C#      | Ratio  | Avg/dura | Frequency | Ratio
--------+--------+----------+-----------+--------+
    C0 |  8.8% |          |  1150 MHz |  nan% |
    C1 |  91.2% |  113.0ms |
    C2 |  0.0% |          |
    C3 |  0.0% |          |
    C4 |  0.0% |          |

IRQ#    | Activity  | Type          | Name
--------+------------+----------------+---------------------------
    37 |        467 |          INTC | gp
    56 |        322 |          INTC | i2c_omap
    86 |        130 |          INTC | mmc1
    12 |        89 |          INTC | DMA
    57 |        52 |          INTC | i2c_omap
    21 |        10 |          INTC | SGX
    61 |        10 |          INTC | i2c_omap
    225 |          4 |          GPIO | omap2-onenand
    341 |          1 |          GPIO | lis302dl

PID#    | Activity  | Name          | Function Entry (Expire)
--------+------------+----------------+---------------------------
      0 |        391 |  <kernel core> | tick_nohz_restart_sched_tick (tick_sched_timer)
    676 |        47D|  kernel-config | cpufreq_governor_dbs (delayed_work_timer_fn)
  3384 |        19 |    osso-xterm | schedule_hrtimeout_range (hrtimer_wakeup)
    651 |        17 |          dsme | __enqueue_rt_entity (sched_rt_period_timer)
      0 |        16 |  <kernel core> | hrtimer_start (tick_sched_timer)
    693 |        11 |      bme_RX-51 | sys_timer_settime (posix_timer_fn)
    568 |          9 |          mmcqd | queue_delayed_work (delayed_work_timer_fn)
    568 |          7 |          mmcqd | schedule_timeout (process_timeout)
    693 |          4 |      bme_RX-51 | schedule_timeout (process_timeout)
    999 |          3 |          Xorg | queue_delayed_work (delayed_work_timer_fn)
    568 |          3 |          mmcqd | cfq_completed_request (cfq_idle_slice_timer)
    999 |          2 |          Xorg | hrtimer_start (it_real_fn)
    970 |          2 |      sgx_perf | queue_delayed_work (delayed_work_timer_fn)
    925 |          2 |            sh | setup_wb_timer (wb_timer_fn)
    678 |          2D|<kernel module> | queue_delayed_work (delayed_work_timer_fn)
    651 |          2 |          dsme | do_nanosleep (hrtimer_wakeup)
      1 |          2D|  <kernel core> | queue_delayed_work (delayed_work_timer_fn)
    693 |          2 |      bme_RX-51 | do_nanosleep (hrtimer_wakeup)
  1274 |          2 |        signond | futex_wait (hrtimer_wakeup)
    942 |          1 |            mce | queue_delayed_work (delayed_work_timer_fn)
  3503 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3517 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
    715 |          1 |    dbus-daemon | queue_delayed_work (delayed_work_timer_fn)
  3531 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3545 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3559 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3573 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3587 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3601 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  1274 |          1 |        signond | schedule_hrtimeout_range (hrtimer_wakeup)
  3615 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3629 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3643 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3657 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  1389 |          1 |  BatteryGraphd | schedule_hrtimeout_range (hrtimer_wakeup)
  3671 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  1389 |          1 |  BatteryGraphd | journal_get_write_access (commit_timeout)
  3685 |          1 |          sleep | do_nanosleep (hrtimer_wakeup)
  3459 |          1 |      powertop | do_nanosleep (hrtimer_wakeup)

Power domain activity breakdown
Domain  | % of time spent in states
--------+---------+---------+---------+---------+----------
usbhost |OFF:  0%|RET: 100%|INA:  0%| ON:  0%| now:(RET)
    sgx |OFF:  97%|RET:  0%|INA:  0%| ON:  2%| now:(OFF)
    per |OFF:  0%|RET:  0%|INA:  0%| ON: 100%| now:(ON)
    dss |OFF:  0%|RET: 100%|INA:  0%| ON:  0%| now:(RET)
    cam |OFF:  0%|RET: 100%|INA:  0%| ON:  0%| now:(RET)
  core |OFF:  0%|RET:  0%|INA:  0%| ON: 100%| now:(ON)
  neon |OFF:  0%|RET:  0%|INA:  0%| ON: 100%| now:(ON)
    mpu |OFF:  0%|RET:  0%|INA:  0%| ON: 100%| 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
        |
  ckgen |          CORE |          PERI |          96M
        |          48M |          12M |          54M
        |      EMU_CORE |
    per |        GPIO2 |        GPIO3 |        GPIO4
        |        GPIO5 |        GPIO6 |

Total wakeups  1648,  54.9/s | IRQ 1085,  36.2/s | Timers  563,  18.8/s
HW wakeups        0,  0.0/s |    Real gp_timers expired  211,  7.0/s


vi_ 2011-03-01 10:21

Re: High Battery Consumption
 
hmm, all those sleep | do_nanosleep (hrtimer_wakeup) are freaking me out.

ok try this, uninstall kernel-power-settings (dont worry you will still keep the power kernel).

Code:

apt-get remove kernel-power-settings
Then do the 'procedure again'. However this time don't worry about posting your output from top.

ok?

slender 2011-03-01 10:23

Re: High Battery Consumption
 
also
http://talk.maemo.org/showpost.php?p...3&postcount=72


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

vBulletin® Version 3.8.8