UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Call for testing: background location updates

    Scheduled Pinned Locked Moved OS
    28 Posts 10 Posters 9.5k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • C Offline
        cliffcoggin @mardy
        last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • K Online
          kugiigi
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • TotalRandoT Offline
            TotalRando
            last edited by

            Hey this just turned my GPS on! Thanks!


            Nerd with UT on a OnePlus One. OnePlus 6T waiting in the wings for VoLTE.

            1 Reply Last reply Reply Quote 0
            • magdesignM Offline
              magdesign @mardy
              last edited by

              @mardy
              Thanks!
              After doing

              sudo ubports-qa install xenial_-_locationbg
              

              and rebooting my oneplus6 several times the GPS is finally working!

              Oneplus 6 (A6003)
              UBports 16.04 RC 2021-W32

              1 Reply Last reply Reply Quote 0
              • H Offline
                hsce1 @mardy
                last edited by hsce1

                Hey @mardy, do you know if your background location service implementation has survived the transfer to focal?

                Edit: I guess I found the relevant MR: https://gitlab.com/ubports/development/core/lomiri/-/merge_requests/70

                1 Reply Last reply Reply Quote 0
                • A Offline
                  aimar
                  last edited by

                  Wow! How did I miss this feature? I have seen the last post and realize that it was available two years ago.
                  Well, BQ E4.5 OTA 25. I have just installed it, but I am not very confident it will work. I get some errors that make me suspect:

                  ubuntu-location-service-bin#####]
                  W: No sandbox user '_apt' on the system, can not drop privileges
                  E: Sub-process /usr/bin/dpkg returned an error code (1)
                  ERROR:ubports-qa:Failed to run 'apt full-upgrade'. See the output above for details.
                  mount: / is busy
                  WARNING:ubports-qa:Failed to remount root filesystem read-only.
                  WARNING:ubports-qa:Please consider rebooting your device.
                  

                  I have rebooted the phone. This weelend I will test the background data adquisition.

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    aimar
                    last edited by aimar

                    I think ubuntu-location-service-bin is not properly installed.

                    Just some questions. I see the following packages upgraded:

                    biometryd-bin
                    libbiometry1
                    qml-module-biometryd
                    

                    Why do we need biometry stuff?

                    This ones were downgraded:

                    libubuntu-location-service3
                    qtubuntu-sensors
                    ubuntu-location-service-bin
                    unity8 unity8-common
                    unity8-private unity8-schemas
                    

                    @mardy you mentioned Lorimi, but I still see unity. Is it all right? I understood this change was for xenial devices.
                    I hope I do not miss anything with the downgrade.

                    A 1 Reply Last reply Reply Quote 0
                    • A Offline
                      aimar @aimar
                      last edited by

                      It works.
                      I tried it with Activity Tracker and records my position with the phone locked.
                      During the first try, the location switch turned off automatically whenever I turned it on. But now the switch and me seem to have achieved an understanding.
                      Thank you very much for such a useful feature.

                      A A 2 Replies Last reply Reply Quote 0
                      • A Offline
                        AmauryDBZ @aimar
                        last edited by

                        @aimar didn't worked for me. Any tests that I can perform ?

                        A 1 Reply Last reply Reply Quote 0
                        • A Offline
                          aimar @AmauryDBZ
                          last edited by

                          Hi @AmauryDBZ. Sorry, I am not a developer, so I cannot provide any hint. I usually use a trial and error approach. You can try uninstalling the package and reinstalling it again.
                          Actually for me, the first time it was not properly installed because I lost the wifi connection. I tried again and although I had some doubts (see posts above) it works.
                          My phone requires some time to connect to the satelites, but once it is done, Activity Tracker followed me.

                          A 1 Reply Last reply Reply Quote 1
                          • A Offline
                            aimar @aimar
                            last edited by

                            Why have I been downvoted? 🙂
                            I was just reporting an initial weird behaviour, but finally a succesfull performance.

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              AmauryDBZ @aimar
                              last edited by

                              @aimar thanks I'll try this :thumbs_up:

                              @aimar said in Call for testing: background location updates:

                              Why have I been downvoted ?

                              I had the same question

                              danfroD 1 Reply Last reply Reply Quote 0
                              • danfroD Offline
                                danfro @AmauryDBZ
                                last edited by

                                Can anyone here, who had background recording working, please confirm if that still works with current OS (OTA4 or newer RC/devel)? We sadly couldn't get it to work on two Xperia X and on OP5T with ActivityTracker.

                                A 1 Reply Last reply Reply Quote 0
                                • A Offline
                                  AmauryDBZ @danfro
                                  last edited by

                                  @danfro not working on my FP4, but I didn't investigate much

                                  1 Reply Last reply Reply Quote 0

                                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                  With your input, this post could be even better 💗

                                  Register Login
                                  • First post
                                    Last post