0 Replies
      Latest reply on Feb 4, 2020 1:34 PM by nickneedsaname
      nickneedsaname Level 1 Level 1 (0 points)

        Hello all,


        Here is a stack overflow of my question if you want to just skip to there:
        https://stackoverflow.com/questions/60049577/corelocationmanager-never-pauses

        I'll ask here as well - My app has location services always on, it's eating up a lot of battery overnight.  Trying to figure out why as CLLocationManager is set to pause, but it's not pausing?


        Relevant code is at the SO link, I'll post it here if people want.  Long and short is that I put my phone down for an hour, didn't touch my phone, and watched the logs and location services NEVER paused.  I think this has been happening since iOS 13?  I'm more than able to pause location services myself, but my understanding was that Apple and iOS would automatically pause them? It definitely was pausing at one point but it's not any more.  I'm wondering if I have something configured wrong?

         

        Any and all suggestions or advice is welcome, thanks.