temporary suspending providers

Bastien Nocera hadess at hadess.net
Mon May 10 03:22:21 PDT 2010


On Mon, 2010-05-10 at 11:37 +0300, Stefan Kost wrote:
> hi,
> 
> is there a way for clients to tell that they don't need position updates
> for a while? If there is no active client the providers could suspend
> /be suspended to save energy.
> 
> Apps could use that mechanism when they are in the background or when
> they detect from an accelerometer that we are not moving.
> 
> Or is the idea that smart sources would adjust there signal interval
> based on speed. Like if a GPS does not get a new position
> (delta<epsilon) it would increase the update interval.

There's currently no way to disable the providers. The master provider
needs to have client tracking added, so it can refcount the usage of
each provider.



More information about the GeoClue mailing list