Recently I noticed that when I press the home or power button to turn my screen on, I notice that the GPS indicator is on for a split second. What is happening here? Is there something trying to use the GPS only when the phone is idle? It sounds fishy to me. Phone: Samsung galaxy s3 mini. Standard rom.

2 Answers 2


What is running?

On today's Android phones, Google Play Services samples and records your location occasionally, even if you have "location sharing" (what used to be called Latitude) turned off, in order to support a number of use cases:-

  1. It allows apps on the device to define regions in space, and notifies an app if you go into (or out of) a particular region. This way, only Google Play Services needs to be running and checking location, rather than every location-based app on the phone keeping track of your location separately and using power unnecessarily.

  2. It looks at which Wi-Fi hotspots are visible, and sends them periodically to Google, to support the feature of finding "coarse" (less accurate) location without turning on GPS.

  3. It looks at your speed to determine whether you're stationary, walking running, cycling, or driving. Google Now uses this information to show you a "you've walked five miles this week" card, if you turn that on, and the statistics are also made available to other apps, again so that they don't all have to burn battery by tracking location individually.

  4. It samples where you spend time in office hours and the evening so that Google Now can work out where your home and work are, and when you commute. This lets it offer you relevant traffic and weather information, and it tells it when you're travelling away from home to suggest places to visit &c.

Why only when the screen comes on?

This is to do with the way Android power management works. Usually, when the screen is off, your phone is asleep. Apps can't run in this mode: it only does the minimum necessary to keep the device connected to the phone network. Some devices can save power by even turning off the main CPU of the phone, switching to a smaller, more efficient (but slower) CPU while they're asleep.

In this mode, Android tries quite hard to avoid waking up, because each wake-up costs a lot of power. Most apps that run periodically have their run delayed, and all run at once, so as to wake up only once instead of many times. This includes the location sampling discussed above.

When you turn your screen on, the phone has to wake up, so at that point any periodic background tasks that were held back will run straight away. Google Play Services isn't trying to use the GPS only when the phone is idle: it just runs for that split second when the phone wakes up.

  • Thank for this information. One little thing however, on turning the screen on, the gps symbol is on for a fraction of a second, and turns immediately off. It's like an app (or the system) was searching for my position while on sleep and turned off, sort of, to avoid me discovering that the GPS was being used when I turned my screen on. The app might have stopped using the gps a fraction of a second too late so I do get a very short glimpse of the icon in the notification bar.
    – To Do
    Commented Mar 17, 2014 at 13:25
  • I know the behaviour: I've seen it myself. As I say, the run starts when you press the button (before the screen is even on), and it takes a fraction of a second to run.
    – Dan Hulme
    Commented Mar 17, 2014 at 14:52

Usually this is related to weather apps that refresh and update location when the screen is turned on. It could be any number of other apps, but most commonly it is weather apps trying to locate you to give you an accurate update for where you are at.

Check any weather apps to see if any are set to use your location.

  • The standard weather app is set to Not know my location.
    – To Do
    Commented Mar 17, 2014 at 13:19
  • Also do you use Facebook? Or do you have location reporting & history enabled in the Google Settings app? Both of those could access your GPS at any time.
    – abqnm
    Commented Mar 17, 2014 at 13:47
  • No the Facebook app is not installed. Google Settings app? What's that?
    – To Do
    Commented Mar 17, 2014 at 13:48
  • It is actually an app called Google Settings. It is a front end for the settings related to Google Play Services that @Dan Hulme mentioned in his answer. Inside you will find various settings including location settings.
    – abqnm
    Commented Mar 17, 2014 at 13:51
  • Location settings is disabled in Google settings.
    – To Do
    Commented Mar 17, 2014 at 14:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .