maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   SailfishOS 2.0 Nexus5 based on CM13 alpha release (https://talk.maemo.org/showthread.php?t=99377)

nh1402 2017-05-11 19:21

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by mosen (Post 1527943)
Very cool!
Does that also mean it is possible to switch the emulator image when a new android is released and keep the work done to adapt anbox to sailfish?

yes (but there is a very good chance you'll lose app data/installed apps when you do), and depends what has changed between versions.

tealc 2017-05-12 19:52

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
I have problems with Settings->Mobile network->Data access point->Access point name being reset to an incorrect value when restarting the handset resulting in mobile data stops working. Not sure if this problem is specific for nexus 5.

Besides this it seems to work well except for a little bit more battery drain than older versions (using default kernel).

mautz 2017-05-13 02:57

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by tealc (Post 1527964)
I have problems with Settings->Mobile network->Data access point->Access point name being reset to an incorrect value when restarting the handset resulting in mobile data stops working. Not sure if this problem is specific for nexus 5.

Besides this it seems to work well except for a little bit more battery drain than older versions (using default kernel).

Could you please instal SystemDataScope from openpos and tell me if your device goes to sleep?

tealc 2017-05-13 19:26

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by mautz (Post 1527969)
Could you please instal SystemDataScope from openpos and tell me if your device goes to sleep?

It looks like it sleeps almost all the time. The battery level is down to 50% now after 12 hours of usage (not much usage) so there is not a massive drain but more than before.

BluesLee 2017-05-14 06:02

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by tealc (Post 1527986)
It looks like it sleeps almost all the time. The battery level is down to 50% now after 12 hours of usage (not much usage) so there is not a massive drain but more than before.

This does not hold for me?! I only get positve suspend time using
Code:

mcetool --get-suspend-stats
when turning off bluetooth completly as root with
Code:

systemctl stop hciattach.service
Unfortunately its not of any use as you cant activate it directly without a reboot. Otherwise a workaround with turn on / off bluetooth would be possible this way
Code:

systemctl start hciattach.service
Job for hciattach.service failed. See 'systemctl status hciattach.service' and 'journal
ctl -xn' for details.


tealc 2017-05-14 08:06

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by BluesLee (Post 1527991)
This does not hold for me?! I only get positve suspend time using
Code:

mcetool --get-suspend-stats
when turning off bluetooth completly
...

I guess I must have misinterpreted the graphs from SystemDataScope then because I get the following:

Code:

mcetool --get-suspend-stats
uptime:      145337.916
suspend_time: 0.000

I have bluetooth disabled in the settings, but based on your explanation I assume bluetooth still can prevent the CPU from sleeping?

m4r0v3r 2017-05-14 10:59

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by mautz (Post 1527909)
Released sailfishos-hammerhead-release-2.1.0.10-new-build_0.2, which fixes the repo issues of the previous image. Still no clue why timed-qt5 isn't able to change the clock via gui.

thats happened to someone else porting to another device, akhil_surabhi but not to my bullhead port so not quite sure whats causing it. i did disable something that was conflicting with dsme in my .rc file so maybe thats it? but i doubt it

rinigus 2017-05-14 11:20

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by tealc (Post 1527992)
I guess I must have misinterpreted the graphs from SystemDataScope then because I get the following:

Code:

mcetool --get-suspend-stats
uptime:      145337.916
suspend_time: 0.000


To be sure that its not a bug in SystemDataScope: did you follow "CPU sleep, %" graph? When device sleeps, it should get towards 90-100% (Average, Min, Max, Last shown below the graph). In your case, its probably 0%

tealc 2017-05-14 12:13

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Quote:

Originally Posted by rinigus (Post 1527998)
To be sure that its not a bug in SystemDataScope: did you follow "CPU sleep, %" graph? When device sleeps, it should get towards 90-100% (Average, Min, Max, Last shown below the graph). In your case, its probably 0%

I didn't find the CPU sleep graph until after running the mcetool command, but assumed that is was the "sleeping" value in Processes graph mautz was asking for. After stopping the hciattach service it does go to sleep and the CPU sleep graph went from 0% to 90-100%.

I have added a systemctl script which stops the hciattach service so hopefully I will get better battery time from now on.

mautz 2017-05-14 17:30

Re: SailfishOS 2.0 Nexus5 based on CM13 alpha release
 
Could you please post /dev/shm/bt-sleep-monitor.log ?

And the check if the service bt-sleep-monitor.service and bt-sleep-monitor.timer are running?


All times are GMT. The time now is 13:32.

vBulletin® Version 3.8.8