Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Location Backend not using GPS at all #230

Open
BentiGorlich opened this issue Dec 29, 2021 · 4 comments
Open

Location Backend not using GPS at all #230

BentiGorlich opened this issue Dec 29, 2021 · 4 comments
Labels

Comments

@BentiGorlich
Copy link

Describe the bug
When I disable all location backends (I have Mozilla Location Service and Nominatim installed), I never get a location at all. I wondered why it was taking it so long (about 2 minutes) to get my location and then it was just absolutely inaccurate (like 100m off, which is just not usable), so I tried disabling all location modules. As far as i understand it should then use only GPS.
In another issue from October 2018 it was asked if the location accuracy is set to high, but I don't have such a setting:
Screenshot_20211229-172721_Einstellungen
And I couldn't find anything that was just a switch to turn GPS on or off
Whats strange: on the "recent location queries" only ever appears microg Services Core.

System
Android Version: 11
Custom ROM: Lineage OS 18.1, LineageOS for microG
Device: Moto G7 Plus (lake)

@ghost
Copy link

ghost commented Jan 26, 2022

I have the exact same issue on my LineageOS for microG installation. I don't see a high accuracy option either. The issue is absolutely identical.

System
Android Version: 10
Custom ROM: Lineage OS 17.1, LineageOS for microG
Device: Xiaomi Redmi Note 8 (ginkgo)

@gdt
Copy link

gdt commented Jan 26, 2022

NLP is for network only. The choice of GPS (GNSS) vs network is outside microg. Android used to have a setting that was basically GPS only, network only, or GPS and network both. I can't find that in CalyxOS-android11.

It sounds like your problem is with GPS, not with microg. I would recommend installing GPSTest and MyLocation, both from f-droid, and run them both to try to understand what is going on.

With OSMAnd, which can use both network location and precise location, what I observe is that while network location is sometimes available first, GPS shows up pretty fast and then is used. Network location is generally not good enough for navigation, in my experience.

@ghost
Copy link

ghost commented Jan 26, 2022 via email

@BentiGorlich
Copy link
Author

I agree. I just tried GPSTest and it obviously gets connection to satellites, although it took ~5 minutes to get my location. So the problem then is not the GPS. Maybe it just takes a good while and when I tried it last time I didn't have the patience. That opens another question for me. When I am in OSMand for example and it has the GPS permission "while I am using the app", can it search for GPS when I lock my phone? In the past I thought it couldn't, but now I am not sure, because there is no setting to give it the permission to always search for GPS.

But if an app uses the PlayService to get the location, it should be able to get a GPS based location, so that is an issue with microG in my opinion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants