-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 requests staying active indefinitely #2625
Comments
Your screenshot show |
I understand where you're coming from however, things are not what they seem. DejaVu was, indeed, one of the unified location nlp backends used with the older microG versions. I installed as a system app (through Magisk) and upon upgrading, the newer versions of microG did NOT remove it. Now it's just sitting there doing nothing, and in fact I could simply just disable it. |
Confirm |
Here you have the proof.
Note: reverting back to any previous version simply just doesn't work. A simple reinstallation will result in microG continuously crashing. Probably wiping data might solve the crashing problem however, doing so will also delete all previously stored cloud messaging push notifications - which means that all previously registered apps will have to be uninstalled & reinstalled to re register. I have 68 registered apps. Go figure! As we stand, we went from bad (no network location) to worse (always location). This FU must be addressed with the utmost urgency. |
Can you post the output of My guess is that there is not actually a (network) location request ongoing, but instead the passive GPS listener in microG (that doesn't activate GPS but will make sure GPS locations are fused if any other app activates GPS) is displayed as "active" request. |
Please see attached (text file containing both requests). |
@sconim can you test with the version from https://microg.org/dl/core-nightly.apk? I can't reproduce the issue on any of my devices, so it's hard to guess what causes this. |
@mar-v-in This version solves the issue for me at a first glance. @sconim As a workaround you can disable both 'Remember from GPS' settings in Location and force close microG and restart, that solved the issue of constant GPS lock in background for me. |
@mar-v-in issue solved for me as well |
Somo more info about nightly build from other user https://4pda.to/forum/index.php?showtopic=724118&view=findpost&p=133408758
|
"Remember from GPS" should work independently, there hasn't been any changes on that functionality recently either. I suspect that this is caused by the new fused system location provider support. As I understand, the issue seems to be fixed for some,but not all users. Can anyone that still has the issue report:
Thanks |
Alternate commands for rooted users with no pc (e.g termux)
ActivityServiceLocation.txt and Location.txt will be stored in downloads folder. |
After reboot I've started "Transparent Clock and Weather" app to initiate Location request. After closing the app location request by "MicroG" still alive.
Android 13 / MIUI 14 (China stable) ROM
|
From your dumpsys output, assuming you did these while the location indicator is active, it looks like more a display issue. The system seems to not actually requesting network location or gps at this time. |
That's a very important point you just made. The dumpsys must be done while the location indicator is active. I, for one, didn't, when I sent you the two files - so those are more, or less useless. With that being said, note that the above commands intended for Android terminal emulator (i.e.Termux) cannot be used (if microG behaves as intended) since transitioning from any app requesting location to a terminal emulator will automatically cause the location to become inactive. |
👍The nightly version appears to have solved the problem. I've tested it with default configuration (no toggling of any settings), and multiple apps, and the location indicator did go off every time I closed the app requesting location. |
Describe the bug
With the new 3.4 installed, any location request results in microG staying active indefinitely.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Any/all location requests should be momentary, especially when all location-requesting apps are in the background.
Screenshots
See attached screenshot
System
Android Version: 13
Custom ROM: Samsung S20 (original firmware, debloated)
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: