← Back to team overview

ubuntu-phone team mailing list archive

Re: Prevent GPS from sleeping

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Rodney,

Thanks for clarification.
The name of my app is "BikeMap".
So, is there any chance to prevent my app from pause if the screen is
locked ?

Regards,
Ralph

On 19.04.2015 19:35, Rodney Dawes wrote:
> What is your app? GPS itself remains active, as it is a system
> service, but when the screen is locked your app will be paused, so
> it will not be able to receive or perform any updates.
> 
> 
> On Sun, 2015-04-19 at 16:53 +0200, rpsoft wrote:
>> Hi,
>> 
>> I took again some tests with my app these days. Unfortunately
>> seems the gps device going to sleep while the phone is locked. It
>> has worked fine some month ago. Currently I'm on the stable
>> channel, Nexus 4 and I can't track any gps data anymore if the
>> phone is locked. Any ideas how do I can prevent this ?
>> 
>> Thank you. Regards, Ralph
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJVM+3IAAoJEPvI2+9QzMhjoNUIAMXfwkDCHXQuGm4Ds6FkHNxE
4JYmKy0K1CjKcTHwT8v9/mJYS8O0uDsEmS76DBEItDbLxsSiMPbOtxEx0iVKKBDO
zugx6hl9u+Wp7rffBMnT+VzpFvJZ4ZXjkg34gS6P59rMBjOFyd2BQY3dTE9Tus89
SBf5tHVBOdKBo4/p9UOlIkdeEQI3muNzAAiAHcgzn8sncPllX537sVBiCMSUxtZK
+Uam/kpy3qITNk13lcPaARUJh61kIGccqV4gqTRP9d9M2qNmKbrnjzUccJzQGQjs
4xUv//VtFPAUgJPPmaIBxufSM4byXehLvJv7u52B3aMIxuxP1m5hrphPL8paZQQ=
=e/XP
-----END PGP SIGNATURE-----


Follow ups

References