Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    High Battery Consumption in Standby

    Reply
    Page 11 of 14 | Prev |   9     10   11   12     13   | Next | Last
    vi_ | # 101 | 2011-11-30, 10:35 | Report

    You can stop now, we have located the problem.

    With KP settings:

    Code:
    C#      | Ratio  | Avg/dura | Frequency | Ratio
    --------+--------+----------+-----------+--------+
         C0 |   0.2% |          |  1150 MHz |   nan% |
         C1 |   0.0% |    0.3ms | 
         C2 |   3.3% |    9.4ms | 
         C3 |   4.2% |  104.3ms | 
         C4 |  92.3% | 1730.5ms |
    Code:
    Power domain activity breakdown
    Domain  | % of time spent in states
    --------+---------+---------+---------+---------+----------
    usbhost |OFF: 100%|RET:   0%|INA:   0%| ON:   0%| now:(OFF)
        sgx |OFF: 100%|RET:   0%|INA:   0%| ON:   0%| 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:  92%|RET:   4%|INA:   3%| ON:   0%| now:(ON)
        mpu |OFF:  92%|RET:   4%|INA:   3%| ON:   0%| now:(ON)
       iva2 |OFF:   0%|RET:   0%|INA:   0%| ON: 100%| now:(ON)
    Code:
    Total wakeups   520,  17.3/s | IRQ  404,  13.5/s | Timers  116,   3.9/s
    HW wakeups        3,   0.1/s |     Real gp_timers expired   54,   1.8/s
    Without KP settings:

    Code:
    C#      | Ratio  | Avg/dura | Frequency | Ratio
    --------+--------+----------+-----------+--------+
         C0 |   0.2% |          |  1150 MHz |   nan% |
         C1 |   0.0% |    0.2ms | 
         C2 |   0.2% |    2.4ms | 
         C3 |   2.9% |  215.9ms | 
         C4 |  96.7% | 2903.8ms |
    Code:
    Power domain activity breakdown
    Domain  | % of time spent in states
    --------+---------+---------+---------+---------+----------
    usbhost |OFF: 100%|RET:   0%|INA:   0%| ON:   0%| now:(OFF)
        sgx |OFF: 100%|RET:   0%|INA:   0%| ON:   0%| now:(OFF)
        per |OFF:  96%|RET:   3%|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:  90%|RET:   5%|INA:   0%| ON:   3%| now:(ON)
       neon |OFF:  91%|RET:   6%|INA:   1%| ON:   0%| now:(ON)
        mpu |OFF:  91%|RET:   6%|INA:   1%| ON:   0%| now:(ON)
       iva2 |OFF: 100%|RET:   0%|INA:   0%| ON:   0%| now:(OFF)
    Code:
    Total wakeups   276,   9.2/s | IRQ  225,   7.5/s | Timers   51,   1.7/s
    HW wakeups       24,   0.8/s |     Real gp_timers expired   30,   1.0/s

    You will notice while the results are not that significantly different, there is a shitload more DMA activity and IRQing going on when KP-settings is installed. While the CPU is not hammering some hardware on the n900 is. Notice the extra 100% ONs in the power domain table for with KP settings.

    Also, 2900mS sleep? HOLY ****! ultimate power saving!

    There is an ancient bug in KP settings. I had issues with KP settings since version 26. I never figured out why it caused all these wake ups I just know in some circumstances it does.

    This is why I do not use KP settings. I have the script extracted from the deb so I can quickly load/unload settings but it does not do the whole startup thing, I do that from an Xsession script.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to vi_ For This Useful Post:
    Estel, Fabry, Natan_xy, nkirk, StocChr

     
    vi_ | # 102 | 2011-11-30, 10:39 | Report

    Originally Posted by freemangordon View Post
    Will you give me some hint on how KPS correlate with the fact that:

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


    WTF?
    I have absolutely no idea why KP settings occasionally causes the n900 to spazz out like mongo-tard. I think it is something to do with the scripts it runs at startup.

    Anyway the evidence is clear. Remove KP settings, problem goes away. Re-install KP settings and it may eventually sometime come back.

    I mentioned it around 1 year ago, no one cared. I just stopped using KP settings and thought nothing more of it after that.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to vi_ For This Useful Post:
    Estel, Natan_xy, StocChr

     
    StocChr | # 103 | 2011-11-30, 10:50 | Report

    vi_ you are the man, big thanks !! you make me laugh with some of your explanations
    "Also, 2900mS sleep? HOLY ****! ultimate power saving!"

    i have some questions:
    - do you use kernel power?
    - what brings me kernel power without kernel settings for the device performance?
    - is it possible to oc the device and do the smart reflex thing without settings?

    btw. thanks man!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    panjgoori | # 104 | 2011-11-30, 10:55 | Report

    yes kernel49 consumes battery more than power48. my phone dropped 7% battery in 8 hours. my phone was in stand by mode and also offline mode was activated. i haven't had any issue like this in kp48.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    StocChr | # 105 | 2011-11-30, 10:59 | Report

    Originally Posted by panjgoori View Post
    yes kernel49 consumes battery more than power48. my phone dropped 7% battery in 8 hours. my phone was in stand by mode and also offline mode was activated. i haven't had any issue like this in kp48.
    my phone lost 100% in 9 hours, offline mode and standby !!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    vi_ | # 106 | 2011-11-30, 11:02 | Report

    Originally Posted by StocChr View Post
    vi_ you are the man, big thanks !! you make me laugh with some of your explanations
    "Also, 2900mS sleep? HOLY ****! ultimate power saving!"

    i have some questions:
    - do you use kernel power?
    - what brings me kernel power without kernel settings for the device performance?
    - is it possible to oc the device and do the smart reflex thing without settings?

    btw. thanks man!
    - do you use kernel power?

    Of course, the things pali and freeman have achieved recently make it essential for me.

    - what brings me kernel power without kernel settings for the device performance?

    If you copy the kernel power kernel-config script. For example copy kernel-config to a file called kernel in /usr/bin or something (be extremely careful or you will braek everything!) then un-install KP-settings you will still have kernel-config (now called kernel) available. The difference is it will not load at boot time.

    PROCEED WITH CAUTION!

    Only do the following if you KNOW your OC settings will not crash your device or you may endup with a boot-loop!

    edit /etc/pmconfig. Here you can set your max/min clock speed and SR. As for setting allowed freqs and DSP freqs you need to stick a script in either event.d or Xsession that echos the appropriate values to the appropriate places. I used xsession, however you could just hi-jack an event.d script like the non gui swappolube event.

    - is it possible to oc the device and do the smart reflex thing without settings?

    See above.


    However I must add none of this is compatible with anything else that muddles with your kernel settings (i.e. battery patch script and speed patch script).

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to vi_ For This Useful Post:
    Estel, getnani, Natan_xy

     
    vi_ | # 107 | 2011-11-30, 11:10 | Report

    Originally Posted by panjgoori View Post
    yes kernel49 consumes battery more than power48. my phone dropped 7% battery in 8 hours. my phone was in stand by mode and also offline mode was activated. i haven't had any issue like this in kp48.
    No it doesn't. KP49 is to the n900 as glass tables are to coprophagia.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to vi_ For This Useful Post:
    Estel

     
    HELLASISGREECE | # 108 | 2011-11-30, 11:30 | Report

    Originally Posted by StocChr View Post
    and what was your solution?
    removed kp49

    must get kp48

    Edit | Forward | Quote | Quick Reply | Thanks

     
    StocChr | # 109 | 2011-11-30, 11:45 | Report

    i extracted "kernel-config" and "dsp" from the kernel-power-settings_0.13_armel.deb

    i copied kernel-config and dsp to my device, ok!

    and how must look my event.d file or the xsession file ( didn't do this before ) to load "kernel-config" and "dsp" on start up?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    vi_ | # 110 | 2011-11-30, 12:02 | Report

    I AM IN NO WAY RESPONSIBLE FOR ANYTHING THAT OCCURS BY YOU FOLLOWING THESE INSTRUCTIONS! AT YOUR OWN RISK.

    Well if you have extracted 'kernel-config' make a copy of it somwhere then uninstall KP-settings. Then copy kernel-config to /usr/bin.

    Check kernel-config still works after uninstalling KP settings.
    Check Your device can handle your 'dsp' profile ( no reboots etc).

    If that works then as root enter this:

    Code:
    echo "#!/bin/sh" > /etc/X11/Xsession.post/80kernel-config
    echo "sudo kernel-config load dsp" >> /etc/X11/Xsession.post/80kernel-config
    Now reboot and cross your fingers. dsp profile should be loaded after boot.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by vi_; 2011-11-30 at 12:05.
    The Following 2 Users Say Thank You to vi_ For This Useful Post:
    Natan_xy, StocChr

     
    Page 11 of 14 | Prev |   9     10   11   12     13   | Next | Last
vBulletin® Version 3.8.8
Normal Logout