BUILD ID = OS VERSION (Settings > About product): 4.1.0.24
HARDWARE (XA2, Xperia 10…): Xperia XA2
UI LANGUAGE: Spanish
REGRESSION: (compared to previous public release: Yes, No, ?): I think this issue happened to me since I updated SailfishOS to 4.1.0
DESCRIPTION:
Gps icon continues to appear after disabling location whenever I use an app with gps. It doesn’t matter if the app is android or native
PRECONDITIONS:
no
STEPS TO REPRODUCE:
Enable location
Open gps app (for example, PureMaps)
Gps icon appears in top bar
Close gps app
Disable location
Gps icon is still in top bar
EXPECTED RESULT:
Gps icon souldn’t appear in top bar after disabling location
ACTUAL RESULT:
Gps icon continues to appear after disabling location
gpstoggle --help
SailfishKeyProvider_ini_read_multiple: reached end of file
SailfishKeyProvider_ini_read_multiple: reached end of file
SailfishKeyProvider_ini_read_multiple: reached end of file
SailfishKeyProvider_ini_read_multiple: reached end of file
SailfishKeyProvider_ini_read_multiple: reached end of file
SailfishKeyProvider_ini_read_multiple: reached end of file
gpstoggle v0.0.1 by halftux
Options:
--------
[--help] help output
[location=0] toggle location permission 0/1
[power=0] toggle gps chip power 0/1
Ok, I think I know what the problem was. A geoclue process was running and it didn’t close when I turned off gps toggle. Since I closed this process manually, this issue disappared. Anyway I don’t understand why a restart of my phone wasn’t enough to solve it. At the moment, everything seems to work fine. @amaretzek, thank you for your answer, it is good to know that tool to manage gps toggle from Terminal.