temporary suspending providers

Guilhem Bonnefille guilhem.bonnefille at gmail.com
Mon May 10 04:21:29 PDT 2010


Fun: I think about this topic this week-end.

The major question is: is Geoclue responsible of hardware, or only
aware of software.

IMHO, Geoclue must keep simple and only responsible of software layer.
Concerning the hardware layer, Geoclue must handle correctly the
disappearing of hardware but should not be actor of it. It is the
responsibility of an other layer to drive hardware configuration
(something like a part of FSO).

The idea is to keep each layer simple and cooperative. By this way, we
will be able to build complex solutions with Geoclue on environment
where harware is persistent (like desktop) or where hardware can be
enable/disable (like mobile device).

For exemple, the provider associated with GPS device should declare
itself as unavailable when gps device is disabled.

2010/5/10 Stefan Kost <ensonic at hora-obscura.de>:
> 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.
>
> Stefan
> _______________________________________________
> GeoClue mailing list
> GeoClue at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/geoclue
>



-- 
Guilhem BONNEFILLE
-=- JID: guyou at im.apinc.org MSN: guilhem_bonnefille at hotmail.com
-=- mailto:guilhem.bonnefille at gmail.com
-=- http://nathguil.free.fr/


More information about the GeoClue mailing list