GPS does not work when screen is off or app not on top

I just tested Google Maps and Komoot with live navigation while the screen was off and it worked with my FP4 on latest Android update without problems, see attachment:
Rennradtour.gpx (14.3 KB)

You can upload this file to websites, likes this one:

Best regards

1 Like

I really can’t reproduce this. Can some more people share their experiences? Because it’s already on the wiki of reproducible issues, I think that might be too soon.

Using the stock ROM, latest update, tested with GMaps. It has never failed me, also not now :slight_smile: I’m not using any fancy system alterations either. It’s a very much stock setup.

To better understand the issue, maybe create a screencast? Then we can see what really happens. Please also share any tweaks you applied to your device.

Well, I was able to reproduce it. I also have a response from support:

This may happen if the location permission given to the app was “While using the app”. In that case, shortly after the screen turns off, it’s not actively being used and the location service will turn off. Thus, I would suggest to check your permissions for the apps concerned!

I set it to Allow all the time and I plan to test it in approx. an hour when I’ll be driving.


Ah okay! I missed that comment. In that case it works as designed. I’ll remove it from the wiki since this is not the kind of issue that should be there :slight_smile:


Agreed. I tried it with the location permission set to “Allow all the time” and sure enough, it worked even when I turned the screen off. It seems that since Android 10, apps must specifically ask for the background location permission (android.permission.ACCESS_BACKGROUND_LOCATION), more info here.

We might eventually make a new wiki page with common issues that are not strictly related to Fairphone (e.g., permissions in new Android versions, features that are not in vanilla/FP Android but people are used to them from other phones, etc.).


That fixed it for me!
Thank you very, very much!

1 Like

Sounds like a plan. Also the lack of VoLTE support with some carriers causes issues that are not universal enough for that wiki I started. But could be something for a wiki you mention. As well as SD card issues.

1 Like

I also have a similar problem, but with a different application - the Beeline motorcycle navigation.

I have been in contact with the developers of the application and they have informed me that they are not using the android.permission.ACCESS_BACKGROUND_LOCATION, instead they are using the standard foreground permissions, even when the screen is turned off. There is no “allow all the time” option available for this application.

The phone seems to kill the process anyway and the navigation gets very infrequent location updates while the screen is turned off. I have already investigated location permissions and battery optimization settings. I wanted to attach them here as screenshots for completeness, but new users are restricted. I guess one screenshot showing the approximate frequency of location updates will be enough for now.

Here is citation from the Beeline developer

Background permission doesn’t mean when your app is in the background. Background location updates are a special case for apps requiring location updates when the app is not running. Our app is running when navigating, so we correctly use the foreground permission using a foreground service. Changing to background permission would not change anything. It’s likely the choice of phone is to blame here or they haven’t excluded our app from being killed by the battery manager.

Anyway, if you require more information to investigate this issue please let me know.

Anyone there? I’d really appreciate some help with this.

Hi Jakub and welcome to the community forum!

I expect the others will get back to you but in any case you should #contactsupport . Make sure you include the comments from the Beeline dev. From what you wrote it looks like you’ve already checked things covered in this topic.

It may be that the FPOS is not implementing permissions as it should.

Could you

  • indicate the build number of the OS version that you are running
  • test with Google Maps
1 Like

The fairphone build is FP4.FP3V.A.116.20220414

Google maps works fine, but it actually uses the background permission, which the beeline appliaction does not. The background data is gathered at higher frequency than in the Beeline screenshot, although it still looks a little lower than I would expect. But that’s background, and Beeline is supposed to run exclusively in foreground. In foreground, with navigation active, whether with the display turned on or off Google maps work just fine and the turn-by-turn directions arrive on time.

Yes, if it’s not working when not visible, I rather get the impression that Beeline should be implementing a foreground service (as per the Android documentation referred to above by Razem). When the app is running but not visible, do you see a “Location” icon in the status bar? If not, then the app has neglected to declare the foreground service type of Location, which it appears is obligatory from A10 up.


The location icon and notifications indeed vanish when the app is no longer visible. I messaged the Beeline team. I will post an update when they get back to me

Hi all.

I have the same problems with Google Maps and OruxMaps. The trick of allowing permanent access to location worked for Google Maps but not for OruxMaps. I see no icon in the status bar signaling a foreground service is implemented.

Nevertheless, OruxMaps has many users in Spain and I find it weird that the issue hadn’t been already addressed. Moreover, OruxMaps began to fail for me in my old Fairphone 2 when I upgraded to Android 9.

I will search more information specific to OruxMaps. If I find something useful I will post it here (just in case it helps with the Beeline problem). If not, I will open a support case.

Thanks anyway for all your posts.

Hi Jakub, did you hear anything back from Beeline? I am having the same issue.

I’m having major problems with Google maps. I normally connect my phone to a third party helmet Bluetooth device on my motorbike helmet and run maps in the backround with the phone locked. Every other phone for the last 10 years worked fine this way but for some reason this phone shuts the GPS module down when the screen shuts off… is there a way of preventing this from happening?

Hi and welcome, you habe to allow Maps to always access GPS ,same Problem discussed here in german,

in settings -apps-maps-GPS

Edit: moved your post to this existing

1 Like

Do you have recieved an update? I have the same issue with my beeline…

The problem seems to be intermittent. Right now it works for me, but I have no idea for how long. I think it has stopped working around three time now, all of them on the Fairphone. My solution is to always bring an older backup phone which never exhibited this behavior, just in case it stopped working mid-trip.

Clearly the issue is on Fairphone’s side, but since it works most of the time I cannot be bothered to keep fighting this problem.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.