Today after i woke up and checked my phone I noticed GPS icon is blinking at the top. So I turned it off through Location services but after a moment it turned back on again. And whether I turn it off it gets back on again and again. That's wired ! No new app has been installed recently no app settings has been changed manually (To use GPS). How could i find out what app(s) doing this?
Also to see which apps are using location services go to
Settings > Location. There you'll be able to see the "Recent location requests" under which the apps that requested location information is displayed. One of the app listed under this section should have turned on the GPS automatically to know the location info.
Whenever you see that the GPS is active (the GPS icon is shown in the notification bar, or
Settings > Battery shows that the GPS is active), click on
Settings > Apps > Running to see which apps are running. One of them is the culprit. So disabling or uninstalling the relevant app you think is causing this would solve your issue.
Note: The above settings are available on Android Kitkat and higher versions.
Also read this questions for more clarifications,
I believe that it is an app, look at investing in a security app like lookout and it will tell you what is doing, or get a process killer such as advanced task killer, and then selectively kill apps until you find the one that is doing it. Have a great day. Respond if you have any further questions.
As your device is rooted, a permission manager with logging functionality would help you identify the culprit. XPrivacy for one tells you if an app has used a given permission, displaying an alert-sign icon next to that and also providing you with logs. You could even have it ask you each time an app tries to access a permission (per-app and per-permission, if you want that). Set up that way for location access on each app having the
ACCESS_FINE_LOCATION permission should definitely let you find the evil app.
For an alternative, LBE is capable of the same. If you want to give this one a try, make sure to pick a version from XDA, unless you know enough Chinese – and do NOT pick the international "light" version from Play as that will put your device into a boot-loop on JellyBean and above.
In my case, this was an issue with Google Now since it uses your location to personalized suggestions based on your location. I was able to solve it this way:
- Open Google app from the Google apps menu drawer or by swiping up from the home key.
- Open Google Now app Settings(swipe from the left side of the phone screen) and disable it by pressing the toggle button.
- This shows a prompt with a confirmation popup Turn off Google Now with a checkbox "Also turn off Location History". Select the checkbox if you want don't want Google to remember your location history and press "TURN OFF".