Location Backend not using GPS at all
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 221
- PR merge metrics
- No merged PRs in 30d
Description
**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:

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)
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the report on Android 11 with LineageOS for microG on the Moto G7 Plus, with Mozilla Location Service and Nominatim disabled. Trace how location requests select available backends and verify whether GPS-only location is requested and returned; done when disabling network backends still produces an accurate GPS location and the recent location queries reflect the expected provider.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100