10. The method of claim 1 , further comprising: displaying a settings pane on the display screen including a user interface element for specifying the authorization type for the application; receiving input through the user interface element, the input specifying a new authorization type for the application; and replacing the authorization type with the new authorization type.
1. A method comprising: receiving, by a processor of a mobile device, a request or intent, from an application running on the mobile device, for one of a plurality of location service authorization types for the application, wherein in a first location service authorization type allows location data to be sent by a location service to the application when the application is not in use and a second location service authorization type allows location data to be sent by the service to the application only when the application is displayed on a display screen of the mobile device; presenting, by the processor, an authorization dialog on the display screen of the mobile device; receiving user input, through the authorization dialog, authorizing location service for the application; and enforcing, by the processor, the location service authorization type for the application, the enforcing including determining whether to provide the location data to the application based on the location service authorization type for the application.