Skip to content

[BUG] workout with GPS does not record positions #139

Open

Description

@aheider

I noticed that while the app no correctly starts a workout on the ring, follows my via GPS and logs everything including heart rate not only to the apps database but also to health connect (this is great btw!), that when I use it for running and carry the phone in my pocket for this, the app goes into background mode and stops recording the GPS route. However, the workout itself and the time and the data is recorded and save when stopping the workout. But the distance remains basically ~10-15 meters.
I noticed that this work with eg. Google Fit (of course without the heart rate from the ring) and that for Google Fit there is an option in the app permissions which allows me to select "always allowed" for the positioning service. For pulseloop I do not have this option, there I only have "allow when using the app" or something (mine is german, sorry).
I think this might be the clue why it works on Google Fit but doesn't on Pulseloop.

Happy to provide any needed evidence if that helps.

Thanks!

Activity

  1. foureight84 commented on Nov 13, 2026

    @foureight84
    Owner

    @aheider thanks for the report, and you were right about the permission angle! 👍

    Turns out PulseLoop doesn't need "Allow all the time". The real problem was that the workout's background service was only declared as a health service. Android stops sending "while using the app" location to those once the app goes to the background (phone in pocket, screen off). The service now also runs as a location service whenever the workout uses GPS. I also loosened a filter that was throwing away the batched GPS fixes Android sends when the screen is off.

    Test build: v2.11.3+85-rc1 (versionCode 85, PR #144).

    Could you do a run with the phone in your pocket and the screen off, then check the route map and distance afterwards? While the workout is running you should see PulseLoop's location indicator in the status bar. Let me know how it goes!

  2. foureight84 commented on Nov 14, 2026

    @foureight84
    Owner

    Quick note: v2.11.3+86-rc2 replaces RC1. It only adds a Bluetooth-off status fix (#136), and the GPS changes for this issue are unchanged, so test on whichever you have installed. RC2 is the one to keep.

  3. foureight84 commented on Nov 15, 2026

    @foureight84
    Owner

    @aheider friendly ping in case you missed the test build — whenever you get a chance to go for a run with your phone in your pocket, could you give v2.11.3+87-rc3 (versionCode 87, PR #144, replaces RC1/RC2) a try and let me know if the GPS route and distance record properly with the screen off? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions