Hello,
there are some apps that programmatically turn on GPS (without extra dialog, that the user has to answer). It works after granting special rights with ADB (adb shell pm grant … android.permission.WRITE_SECURE_SETTINGS).
Most popular is maybe tasker and automate.
Why is prey not doing this ?