Sorry to revive an old thread, but I felt this issue directly related to my problem, and the solutions which might have worked in 2013 don't work for me today.
Basically, my GPS turns on automatically, and usually not long after starting to watch a YouTube video, or reading the news via Google chrome, or pretty much any Google application.
1) I have gone into Settings > Location > Google Location History and turned off the option for each Google account I have.
2) Under Settings > Location > Google Location Sharing, I'm not sharing my location with anyone.
3) Under Settings > Location > Recent location requests, it shows two apps, grayed out: Google Play Services (battery usage: low) and IMS Service (battery usage: high). These are grayed out because the Location switch is turned off.
4) I have tried to change the Mode, under Settings > Location to High Accuracy, Power Saving and GPS Only, before turning Location back off, but none seen to "keep" the GPS in the off position, as I set from the pull-down panel.
5) In Settings > Application Manager, I have gone through each application in my phone and checked for permissions requiring location, and have since turned off location for each app. The exceptions are apps like Waze, Maps, etc. Youtube, Chrome, Messages and Camera (my main apps) are not given permission to use location. However, at least one application requires the use of location, for a reason I can't understand: Gallery. Without the location permission, it simply won't run, and redirects me to the settings menu.
6) Some forums have suggested disabling Google Play Services, but I found out that doing such prevents me from using many apps, so that isn't an option. The IMS Service can't be found in the Application Manager.
7) After much trial and error, a new application JUST now popped up under Settings > Location > Recent location requests, as I was typing up this forum: Unified Daemon. The app isn't listed in the Application Manager either, but turning on location and going directly into permissions tells me that location was required. So, I switch off the permission and then turned off location again. Back to YouTube for more testing...
...well, I thought the issue was fixed, but after returning to this forum to keep typing, GPS turned back on. Ughhhh...
8) For the record, I did just do a full Factory Reset on the phone (over 2 year old phone, seemed to be reading a critical memory limit)
9) Each time the GPS turns on automatically, I also receive a dialog box which states:
"Improve location accuracy?
Help apps find your location more quickly and accurately using Google's location service. Anonymous location data we'll be sent to Google when your device is turned on.
This service is active when Settings > Location is on and High Accuracy or Battery Saving Mode is selected."
I am given 2 buttons: Disagree or Agree. Selecting either does not turn it off. Selecting disagree will cause the message to come up again after a few minutes. Usually, after selecting Disagree, I also immediately turn off the location in the pull down panel. However, GPS is turning on quite frequently (every 5 to 10 minutes while in use), and at some point after I put it on the charger and go to sleep.
10) Phone details are as follows:
Android version: 6.0.1
Model: Samsung Note 4 Edge
Android security patch date: March 1, 2017
Other information available, feel free to ask.
Any help would be great!!!
Thank you!!!
Scott