← Back to team overview

ubuntu-phone team mailing list archive

Re: GPS

 

I realize that GPS has improved, but it still takes over 10 minutes to get
a A-GPS location for a single app

On Mon, Feb 8, 2016 at 8:35 AM, Felipe De La Puente <fdelapuente@xxxxxxxxx>
wrote:

> Hi,
>
> Is there a place where I can find documentation about the current API
> available to consume the location-service from a C++ app?
>
> Thanks!
> Felipe.
>
>
> On Mon, Feb 8, 2016 at 10:26 AM, Thomas Voß <thomas.voss@xxxxxxxxxxxxx>
> wrote:
>
>> On Sat, Feb 6, 2016 at 8:16 AM, Marek Greško <mgresko8@xxxxxxxxx> wrote:
>> > Hello,
>> >
>> > I would prefer to have control over gps, whether it is ever user or
>> not. I
>> > understand your reasoning, but what if I want to start mapping
>> application
>> > without gps starting? I just want to search the map, not to navigate and
>> > drain battery.
>> >
>>
>> There are two aspects to this problem:
>>
>> (1.) The system should clearly indicate the status of the positioning
>> engine. We are in the progress of surfacing the status more clearly.
>> (2.) The respective application you are using should not use the
>> positioning engine until it actually has to. As Pat pointed out, you
>> can completely
>> switch off the positioning engine to prevent buggy apps from accessing
>> the engine without a real need.
>>
>> Cheers,
>>
>>   Thomas
>>
>> > Also I added comment to the bug you mentioned, that it would be nice to
>> see
>> > what state the gps currently is. Whether it has fix or searching or
>> > powersave and so.
>> >
>> > Thanks.
>> >
>> > Marek
>> >
>> > 2016-01-28 17:26 GMT+01:00 Pat McGowan <pat.mcgowan@xxxxxxxxxxxxx>:
>> >>
>> >>
>> >>
>> >> On Thu, Jan 28, 2016 at 9:50 AM, royden yates <royden.yates@xxxxxxxxx>
>> >> wrote:
>> >>>
>> >>> On Thu, 28 Jan 2016 15:19:56 +0100
>> >>> Michael Zanetti <michael.zanetti@xxxxxxxxxxxxx> wrote:
>> >>>
>> >>> >
>> >>> >
>> >>> > On 28.01.2016 14:21, Alberto Mardegan wrote:
>> >>> > > On 28/01/2016 15:36, Michael Zanetti wrote:
>> >>> > >> Funny enough, the HERE webapp is the only thing that
>> >>> > >> actually manages to get a GPS fix for me. I haven't ever
>> >>> > >> seen a GPS fix in OSMScout or any other app.
>> >>> > >
>> >>> > > It shouldn't make any difference, which app you are using.
>> >>> > > It may be that the only thing that changes is how you use
>> >>> > > the phone while location service is on:
>> >>> > >
>> >>> > > - The app must be active on the foreground, and the screen
>> >>> > > must be on
>> >>> > > - For AGPS to work, you need to have WIFI on and be
>> >>> > > connected to the internet (either wifi or cellular data, it
>> >>> > > doesn't matter)
>> >>> >
>> >>> > Yes, that's what I would think too. But well, not what my
>> >>> > device agrees with... I just opened Here. It loaded, 3 secs
>> >>> > later it painted where I am. I closed it again, opened
>> >>> > OSMScout and well, in the meantime I've typed this mail with
>> >>> > the display on and OSMScout in foreground and it still thinks
>> >>> > I'm sitting on the north pole...
>> >>> > >
>> >>> > > Ciao,
>> >>> > >   Alberto
>> >>>
>> >>> Another issue, is that since the change to the notification drop
>> >>> down, the gps chip itself is not seen to be enabled/disabled,
>> >>> but "location detection" may be shown as enabled there,
>> >>> perhaps confusingly. For gps chip status, one must know to go
>> >>> to System Settings -> Battery screen.
>> >>>
>> >>> This situation is inconsistent, as wifi and bluetooth chip power
>> >>> states ARE shwon in notifications.  Why not gps?
>> >>>
>> >>> cheers Royden
>> >>
>> >>
>> >> We recently updated the spec to remove the GPS control entirely as
>> >> explained in
>> >>
>> https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1533837
>> >>
>> >> Cheers
>> >> Pat
>> >>>
>> >>>
>> >>> --
>> >>> Mailing list: https://launchpad.net/~ubuntu-phone
>> >>> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>> >>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>> >>> More help   : https://help.launchpad.net/ListHelp
>> >>
>> >>
>> >>
>> >> --
>> >> Mailing list: https://launchpad.net/~ubuntu-phone
>> >> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>> >> Unsubscribe : https://launchpad.net/~ubuntu-phone
>> >> More help   : https://help.launchpad.net/ListHelp
>> >>
>> >
>> >
>> > --
>> > Mailing list: https://launchpad.net/~ubuntu-phone
>> > Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>> > Unsubscribe : https://launchpad.net/~ubuntu-phone
>> > More help   : https://help.launchpad.net/ListHelp
>> >
>>
>> --
>> Mailing list: https://launchpad.net/~ubuntu-phone
>> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References