Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview

    Reply
    Page 34 of 125 | Prev | 24   32     33   34   35     36   44 | Next | Last
    mautz | # 331 | 2016-12-08, 20:06 | Report

    I think our battery life problem is not sensors related...

    Just wanted to share a screenshot of my battery usage today(screenshot shows last 12hours)



    At the moment i'm playing around with the different sfos boosters.
    Ah, and i saw that sfos is running an osupdate check timer, which we don't need. It should be save to mask the the osupdate.timer and get some extra seconds of battery life

    New kernel is coming soon, i'll just want to test it a few days before releasing it.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 7 Users Say Thank You to mautz For This Useful Post:
    BluesLee, deprecated, forb'S, juiceme, maximilian1st, minimec, rinigus

     
    claustn | # 332 | 2016-12-09, 17:05 | Report

    in sfdroid the command pkill zygote for the connection issue works, but I have to do it every time I open it. Is there way to make it fixed?

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

     
    deprecated | # 333 | 2016-12-10, 19:22 | Report

    How's the testing coming, @mautz?

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

     
    deprecated | # 334 | 2016-12-10, 21:28 | Report

    Originally Posted by claustn View Post
    in sfdroid the command pkill zygote for the connection issue works, but I have to do it every time I open it. Is there way to make it fixed?
    You could script it, sh script or the like. Change the “Exec” directive in the .desktop shortcut for sfdroid in /usr/share/applications to something like:
    Exec=fingerterm -e "/path/to/script.sh"

    sh script includes original Exec directive from the .desktop followed by pkill zygote


    Forgive the lack of detail, but I don't use sfdroid. I'd be glad to help in more detail if you paste me the contents of the sfdroid .desktop shortcut in /usr/share/applications

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to deprecated For This Useful Post:
    claustn, juiceme

     
    claustn | # 335 | 2016-12-11, 10:47 | Report

    that's the content:
    Code:
    [Desktop Entry]
    Exec=invoker --type=generic -s /usr/bin/sfdroid.sh
    Icon=/usr/share/icons/hicolor/96x96/apps/sfdroid.png
    Name=sfdroid
    Type=Application
    Version=1.0
    and of /usr/bin/sfdroid.sh :

    Code:
    #!/bin/sh
    
    /usr/bin/sg graphics "/usr/bin/sfdroid $@"

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to claustn For This Useful Post:
    deprecated, eekkelund, juiceme

     
    petrica | # 336 | 2016-12-11, 12:34 | Report

    Well, on a fresh 2.0.4.13 with V8 kernel, conservative governor, lowered min_freq to 200, wifi on, no apps running, device not even touched, battery consumption in 24h was 40%. Is that good or bad? Previously I updated from 2.0.4.13 to 2.0.5.6 (which BTW is running very good and is my favorite) but the battery was draining way faster.

    Also no SFDroid.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to petrica For This Useful Post:
    deprecated, juiceme, maximilian1st, minimec

     
    deprecated | # 337 | 2016-12-11, 17:03 | Report

    Originally Posted by petrica View Post
    Well, on a fresh 2.0.4.13 with V8 kernel, conservative governor, lowered min_freq to 200, wifi on, no apps running, device not even touched, battery consumption in 24h was 40%. Is that good or bad? Previously I updated from 2.0.4.13 to 2.0.5.6 (which BTW is running very good and is my favorite) but the battery was draining way faster.

    Also no SFDroid.
    That sounds a bit high. That's close to what I get with the stock kernel and voltages. Have you undervolted at all? That will be your single biggest gain. Also, I'd stick to a lower limit of 249MHz, as any lower will have diminishing returns and actual losses. I actually have a fair amount less consumption on my 2.0.5.6 setup as opposed to 2.0.4.1x

    Did you use the 2.0.1.11 install image following CM12.1, then the sensorsfix3.zip flash then OTA'ed to 2.0.4.1x and beyond? What I'd do is install the updated 2.0.4.13 image, as the hardware adaptation is slightly newer and seems to have improved battery life after OTA'ing to 2.0.5.6. I've settled on that method of getting the latest SFOS after much trial and error, and this method works for me every time - with the exception of the known dbus bug which is easy to get around. Let me know if you need any help!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to deprecated For This Useful Post:
    juiceme, klinglerware, maximilian1st, minimec

     
    deprecated | # 338 | 2016-12-11, 17:20 | Report

    Originally Posted by claustn View Post
    that's the content:
    Code:
    [Desktop Entry]
    Exec=invoker --type=generic -s /usr/bin/sfdroid.sh
    Icon=/usr/share/icons/hicolor/96x96/apps/sfdroid.png
    Name=sfdroid
    Type=Application
    Version=1.0
    and of /usr/bin/sfdroid.sh :

    Code:
    #!/bin/sh
    
    /usr/bin/sg graphics "/usr/bin/sfdroid $@"
    You could likely add "pkill zygote" to a new line in that sfdroid.sh script, as follows:

    Code:
    #!/bin/sh
    
    /usr/bin/sg graphics "/usr/bin/sfdroid $@"
    /usr/bin/pkill zygote
    Let me know if that doesn't work.

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

     
    claustn | # 339 | 2016-12-11, 20:06 | Report

    Originally Posted by deprecated View Post
    You could likely add "pkill zygote" to a new line in that sfdroid.sh script, as follows:

    Code:
    #!/bin/sh
    
    /usr/bin/sg graphics "/usr/bin/sfdroid $@"
    /usr/bin/pkill zygote
    Let me know if that doesn't work.
    It doesn't work
    Nothing is changed, it seems that the command is not executed.

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

     
    deprecated | # 340 | 2016-12-11, 20:34 | Report

    Originally Posted by claustn View Post
    It doesn't work
    Nothing is changed, it seems that the command is not executed.
    I'll make a test partition with sfdroid to see if I can find a way to automate that nicely. I'll update as soon as I have a solution for you.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to deprecated For This Useful Post:
    claustn, juiceme

     
    Page 34 of 125 | Prev | 24   32     33   34   35     36   44 | Next | Last
vBulletin® Version 3.8.8
Normal Logout