Call for testing: background location updates
@applee If switching channels is an easy way to restore a current OTA that is fine and I am happy to test this modification. Re-installation however is not an option for me as I have never been able to get the installer to work.
I tested this today after a long struggle to copy the code from here to the terminal of my Nexus 5.
The test is in two parts using OSM Scout Server (with suspension enabled), Pure Maps, and Activity Tracker (with suspension enabled).
In the first part of the test I found that the lockscreen was prevented, consequently the display was continually on and the battery level dropped rapidly. That is something I would want to see fixed. Nevertheless the three applications mentioned all worked. I also tested that phone calls, text messages, and internet also worked. (I don't recall if the latter was using SIM or Wi-Fi.)
For the second part of the test I manually engaged the lockscreen with the power button. Every ten minutes I checked that the mapping continued to work, and battery levels were dropping at a more acceptable rate though I did not note any specific figures for power drop.
The one oddity was Activity Tracker which showed many data points while it was active, but when it was stopped and saved, only 4 data points were recorded instead of the expected 13. I don't know if that is an effect of the new software or something In Activity Tracker. It is not an application I use regularly.
Does this report help?
mardy last edited by
Thanks @cliffcoggin ! I realized just now that not all the packages made it to the PPA: the lomiri changes are not there, and they are essential to get this functionality working fine. I'm still trying to understand what is the correct branch to use for lomiri, and then I'll rebuild the package. I'll keep you guys posted!
For the time being, better not use this PPA, as it's incomplete.
@mardy OK. I will await developments.
To get back to stable channel I changed to RC which appeared to go well. I then tried changing back to stable channel, and it told me it was switching channels, but it remained on RC. Is that because RC is essentially the same as stable at the moment? Do I need to do anything more?
mardy last edited by
OK, now the PPA seems ready
Please test it again, and sorry for the previous glitch!
@mardy Initial indications are good. Lockscreen engages as normal, Sensor Status and Pure Maps show the correct location.
I'll perform a longer test next time I go out and let you know the outcome.
@mardy Further information: the battery level dropped from 65% to 5% in less than three hours. (I don't know the precise time as the phone turned itself off while I was away from it.) That's probably similar to what it would have been before the modification.
If i remember correctly, the main issue before is that location stops working when you lock the screen even if you disable suspension. I had to stop automatic locking whenever I use Activity tracker. I was lucky Bq E5's battertly is great so I was able to use it for many hours.
TotalRando last edited by
Hey this just turned my GPS on! Thanks!
magdesign last edited by
sudo ubports-qa install xenial_-_locationbg
and rebooting my oneplus6 several times the GPS is finally working!