Reply
Thread Tools
Posts: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#331
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.
 

The Following 7 Users Say Thank You to mautz For This Useful Post:
Posts: 387 | Thanked: 707 times | Joined on May 2015 @ Italy
#332
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?
 

The Following User Says Thank You to claustn For This Useful Post:
Posts: 300 | Thanked: 962 times | Joined on Jun 2010 @ USA
#333
How's the testing coming, @mautz?
__________________
Sony Xperia XA2 Ultra SFOS 3 + Sony Xperia X SFOS 3, Nokia N810
 

The Following User Says Thank You to deprecated For This Useful Post:
Posts: 300 | Thanked: 962 times | Joined on Jun 2010 @ USA
#334
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
__________________
Sony Xperia XA2 Ultra SFOS 3 + Sony Xperia X SFOS 3, Nokia N810
 

The Following 2 Users Say Thank You to deprecated For This Useful Post:
Posts: 387 | Thanked: 707 times | Joined on May 2015 @ Italy
#335
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 $@"
 

The Following 3 Users Say Thank You to claustn For This Useful Post:
Posts: 3 | Thanked: 9 times | Joined on Jun 2016
#336
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.
 

The Following 4 Users Say Thank You to petrica For This Useful Post:
Posts: 300 | Thanked: 962 times | Joined on Jun 2010 @ USA
#337
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!
__________________
Sony Xperia XA2 Ultra SFOS 3 + Sony Xperia X SFOS 3, Nokia N810
 

The Following 4 Users Say Thank You to deprecated For This Useful Post:
Posts: 300 | Thanked: 962 times | Joined on Jun 2010 @ USA
#338
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.
__________________
Sony Xperia XA2 Ultra SFOS 3 + Sony Xperia X SFOS 3, Nokia N810
 

The Following User Says Thank You to deprecated For This Useful Post:
Posts: 387 | Thanked: 707 times | Joined on May 2015 @ Italy
#339
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.
 

The Following User Says Thank You to claustn For This Useful Post:
Posts: 300 | Thanked: 962 times | Joined on Jun 2010 @ USA
#340
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.
__________________
Sony Xperia XA2 Ultra SFOS 3 + Sony Xperia X SFOS 3, Nokia N810
 

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

Tags
hammerhead, nexus5, sailfishos, sfdroid

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:22.