VikingGlen
Lurker
When Froyo was released, I wrote a fleet tracking app for my employer thats sole purpose was to check the location of each vehicle every 60 seconds. When the vehicle was moving, it updated these new locations in a bundle every 10 minutes onto privately owned servers. I did not make the app available on Google Play Store.
I took a break from Android developement for a few years while I went back to college. The app is outdated enough that it will no longer install on current phones. Looking through what I have to do to update it, it appears that doing so will be a waste of time. From developers.android.com:
The qualifying statement appears to be, "In an effort to reduce power consumption..." One could assume that if the phone is mounted in the vehicle and plugged in, the above statement, "apps can receive location updates only a few times each hour" would not apply. However, before I spend a significant amount of time rewriting the code, I want to pose the question:
Is the limitation of background updates firmly set at a few times each hour with no exceptions? Or is there a workaround, such as when the phone is plugged in and charging?
I took a break from Android developement for a few years while I went back to college. The app is outdated enough that it will no longer install on current phones. Looking through what I have to do to update it, it appears that doing so will be a waste of time. From developers.android.com:
In an effort to reduce power consumption, Android 8.0 (API level 26) limits how frequently an app can retrieve the user's current location while the app is running in the background. Under these conditions, apps can receive location updates only a few times each hour.
The qualifying statement appears to be, "In an effort to reduce power consumption..." One could assume that if the phone is mounted in the vehicle and plugged in, the above statement, "apps can receive location updates only a few times each hour" would not apply. However, before I spend a significant amount of time rewriting the code, I want to pose the question:
Is the limitation of background updates firmly set at a few times each hour with no exceptions? Or is there a workaround, such as when the phone is plugged in and charging?