I have purchased a Fairphone 4 last week and am still in the process of configuring it.
A serious problem I encountered was that GPS does not work whenever the screen is turned off or the app that is using it is not on top. If I switch to another app it can’t use GPS either.
I first encountered the problem using Oruxmaps but Google Maps has the same problem.
Since I often use my phone to record tracks while hiking or driving my bicycle this is kind of a dealbreaker for me because I can’t keep the screen switched on the whole day.
Here’s my information:
- Android 11 with Android security update 5. April 2022
- App info for Oruxmaps → Battery → Battery optimisation: Not optimised (Background restriction option is greyed out)
- Battery → Battery Saver: Off
Apart from the fact that Maps complains about missing GPS and the recorded track in Oruxmaps jumps directly whenever I switch on the display, everything is working find.
Whenever I actually use GPS, it finds its satellites quickly enough and the precision is absolutely fine.
Did I miss any settings that will help me out?
Hello and welcome to the forum. I haven’t really tried running any kind of navigation when the screen is turned off. (I might try it tomorrow.) But I noticed that my location history (Google Maps Timeline) has been a mess lately. It is inaccurate as hell, usually showing only the points where I turned the screen on. I get that it is not supposed to be extremely accurate as that would drain the battery a lot. But it used to be way better. You can try disabling battery optimizations for “Fused Location”. But if that doesn’t work, I’m out of options. Anyway, please make sure to #contactsupport. This is pretty weird and it should definitely be addressed.
Thank you for your response.
I disabled optimization for Fused Location and unfortunately it did not solve my problem.
I’ve tried it today and it’s exactly how you described it. The moment I turned off the screen, Google Maps were unable to get GPS signal. That’s pretty disappointing.
Strange, I recently tracked a walk with Google Fit while listening to Podcast/YT Music. That worked fine, the walk was mapped in detail. No gaps. I’ll try this evening when I’ll commute with Google Maps.
I’m using Google Maps together with Android Auto (wireless and wired) and the screen of my FP4 is off during the navigation.
I didn’t noticed any problems with navigation while I’m using Android Auto.
So, I don’t think it’s directly a problem with Google Maps, otherwise Android Auto would have massive problems with navigation.
Is this issue also reported to support? If not, please #contactsupport. I’ll try to reproduce the issue as well.
I already contacted support.
But since I purchased the Fairphone from an “other” vendor I have to wait 30 days. (I am sure not getting any support from that vendor)
And yes, it certainly isn’t a problem of Google Maps or Android Auto since I already know Oruxmaps is also affected.
Thank you for confirming that not everybody is having that problem.
I found one person on the internet that had a similar problem with his phone and managed to fix it by upgrading to Android 12. I am hesitant to do that because Fairphone will make that jump eventually.
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:
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 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
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!
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.