Active Topics

 


Reply
Thread Tools
Posts: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#321
Originally Posted by deprecated View Post
Do you guys use multirom at all? I had read that it wasn't the preferred method a while back, so I typically do a native install. Are there any side effects or drawbacks to using multirom for sailfish alongside other OS'es?
I'm using multirom since day one.

If have a second SFOS to test SF updates and check if the patches i use are working, and i test the kernelsbefore i install them on my main SFOS installation.

By the way a new kernel is on the way with updated wifi drivers and some power managment improvements, i hope to release it this evening.

Regarding the powersave when the phone is suspended, if the phone is in idle state the tick rate does not matter that much, since kernel 3.4 is nearly running tickless when idle. Sadly full tickless mode was introduced in kernel 3.10 and i haven't found a working 3.10 version for the N5.

EDIT: Seems francos kernel for the N5 is tickles...looks like i've got some work to do

Last edited by mautz; 2016-12-07 at 13:50.
 

The Following 3 Users Say Thank You to mautz For This Useful Post:
Posts: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#322
Concerning the battery drain, when the screen is on, maybe we are lacking hardware accleration of the GPU? Scrollingthrough the apps menu can bring the CPU usage up to 100%.

Edit:

I checked the CPU usage in Android 6 it is about 30-40% lower. This is way better, but this alone can't be the cause for the huge difference in battery life...if this is true.
Has anyone used the Nexus5 with Android 5.1 before switching to SFOS and can confirm that there is such a huge difference?

Last edited by mautz; 2016-12-07 at 13:14.
 

The Following 4 Users Say Thank You to mautz For This Useful Post:
Posts: 300 | Thanked: 962 times | Joined on Jun 2010 @ USA
#323
Originally Posted by mautz View Post
Concerning the battery drain, when the screen is on, maybe we are lacking hardware accleration of the GPU? Scrollingthrough the apps menu can bring the CPU usage up to 100%.

Edit:

I checked the CPU usage in Android 6 it is about 30-40% lower. This is way better, but this alone can't be the cause for the huge difference in battery life...if this is true.
Has anyone used the Nexus5 with Android 5.1 before switching to SFOS and can confirm that there is such a huge difference?
I think the UX works with GPU acceleration, too. If you run AIDA64 and select the GPU tab and move through applications/scroll around, the GPU usage ramps up to anywhere from 20% to 60% on my device.

I can confirm the huge difference. I used my N5 on Copperhead, which was 5.1.1 Lollipop, and it lasted literally 3-4 days without Google Play services.
__________________
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: 300 | Thanked: 962 times | Joined on Jun 2010 @ USA
#324
Originally Posted by mautz View Post
EDIT: Seems francos kernel for the N5 is tickles...looks like i've got some work to do
Oh man, that is exciting!
__________________
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: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#325
Originally Posted by deprecated View Post
Oh man, that is exciting!
Sorry, i was wrong...but since no actual N5 kernel is tickless(nearly all use CONFIG_HZ=100) this can't be the cause of the battery drain.
 

The Following 2 Users Say Thank You to mautz For This Useful Post:
Posts: 300 | Thanked: 962 times | Joined on Jun 2010 @ USA
#326
Originally Posted by mautz View Post
Sorry, i was wrong...but since no actual N5 kernel is tickless(nearly all use CONFIG_HZ=100) this can't be the cause of the battery drain.
No worries! And yeah, I'm with you there. I'm fairly positive it isn't the GPU, and my CPU usage hovers around ~8% while the screen is on. Draw is about -110mAh at idle. It seems to behave a small amount better when I manually set my ofono TechnologyPreference to umts rather than selecting "prefer 3G" in settings.

Power drain is consistent regardless of which radios I disable or enable, so I'm not sure the radios are actually being turned off. If I turn off WiFi, Bluetooth, etc., it still draws an identical amount. This seems a little strange to me. Maybe the root here is the radio management?

Pure speculation, of course. Doesn't hurt to get it out there though!
__________________
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:
BluesLee's Avatar
Posts: 411 | Thanked: 1,105 times | Joined on Jan 2010 @ Europe
#327
Originally Posted by deprecated View Post
No worries! And yeah, I'm with you there. I'm fairly positive it isn't the GPU, and my CPU usage hovers around ~8% while the screen is on. Draw is about -110mAh at idle. It seems to behave a small amount better when I manually set my ofono TechnologyPreference to umts rather than selecting "prefer 3G" in settings.

Power drain is consistent regardless of which radios I disable or enable, so I'm not sure the radios are actually being turned off. If I turn off WiFi, Bluetooth, etc., it still draws an identical amount. This seems a little strange to me. Maybe the root here is the radio management?

Pure speculation, of course. Doesn't hurt to get it out there though!

I speculated on syncthing, removed it and voila battery life is better as the phone sticks to 3G since a day though i have set it to 4G in the settings:-)

In the past sensors have caused major issues on battery life, i have about 1.5%-2.0% here for both sensor processes with sfos 2.0.5. Can someone drop his numbers and sfos version here, especially lower sfos versions would be interesting.
 

The Following 3 Users Say Thank You to BluesLee For This Useful Post:
Posts: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#328
Hi,

it's the same numbers for me, but they haven't changed during the updates(i'm now on 2..0.5.6). Disabling unneded sensors doesn't lower the CPU usage much. High usage only occurs when the sensors process crashes, which happens sometimes.
 

The Following 3 Users Say Thank You to mautz For This Useful Post:
Posts: 387 | Thanked: 707 times | Joined on May 2015 @ Italy
#329
i'm using sailfish 2.0.1.1 , if you tell me what test to do i will do it
 

The Following 2 Users Say Thank You to claustn For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#330
Have been following this thread with great interest - even without N5. However, I think we have similar problems on other devices.

I'd like to confirm the significantly larger drain in SFOS when compared to Android. At least, that was about a year ago on Nexus 4. As far as I remember, on Android, I could get about 2x longer on a single charge than in SFOS these days (SFOS did improve over a year on N4, at the beginning, the difference was even larger). So, the battery life difference is, in my experience on N4, similar to what as been suggested by some of you on N5.

Whether the difference is due to radios not switching off is hard to say. At least, as reported by rfkill interface at /sys/class/rfkill, the Linux kernel thinks the bluetooth and WiFi are as I expect them to be on N4 (and on OnePlus X). I have never seen any discrepency on the radio state when following rfkill interface by collectd. Whether Linux kernel gets fooled, that's another question.

Finally, when reporting CPU usage on sensors, I guess it would be great to specify how you measure it. If you use top then you are measuring against CPU time. Alternative is to measure against the wall time taking into account time which device was sleeping. An example logs for 24h of CPU sleep and sensor related sensorfwd and sensors.qcom processes are attached. These were recorded on OnePlus X, 2.0.2 and, as you could see, sensors account to 0.15% of wall time. Taking average sleep of 85% over that period, we get 1% of CPU time for sensors on this device.

While different hardware, I hope that these observations are of use for you as well.
Attached Images
   
 

The Following 8 Users Say Thank You to rinigus For This Useful Post:
Reply

Tags
hammerhead, nexus5, sailfishos, sfdroid


 
Forum Jump


All times are GMT. The time now is 08:39.