Get Core Motion Updates when app is in background
<p>I am building a location based app. But, when my app is in the background, location updates continue and it drains the battery. So I chose to use Core Motion to detect if user is in Automotive mode, and only use Core Location if that is the case, and not update locations otherwise. But the Core Motion chip sleeps in background mode and I don't get data.</p>

<p>How can I keep the Core Motion chip awake while my app is in the background?</p>