Determining programatically whether satellite GPS functionality is needed
<p>Is it possible to determine programatically whether any background applications/services are using the sattelite GPS functionality?
I realise from searching SO that it isn't possible to disable it in code, but that I have to use a button shortcut which does:</p>

<pre><code>Intent myIntent = new Intent(Settings.ACTION_SECURITY_SETTINGS);
startActivity(myIntent);
</code></pre>

<p>and click the relevant settings button.</p>

<p>I've written a maps application but have no access to a real phone at present and notice that the little satellite icon in the emulator's status bar doesn't reflect the state of the system setting. I'd like to try and conserve battery charge and am wondering whether the GPS stays on, draining the battery, if nothing requires its functionality.</p>

<p>I realise that disabling satellite GPS at system level may impact other apps, hence my question.</p>
