Welcome to the QuickBooks Community! I will be delighted to assist here. Let's try some troubleshooting steps to resolve the matter.
To begin, review the general location settings on your phone or tablet. Make sure the QuickBooks mobile app can run in the background. This way, it will track trips even when it is not open and active on your screen.
Go to your iPhone or iPad's Settings.
Scroll down and select the QuickBooks app.
Select Location. Then select Always.
Turn on the Motion & Fitness, Background App Refresh, and Cellular Data options.
Close your settings.
If you see a message about background location use, select Always Allow. Note: Don’t select the While Using the App, or Only While Using options. These prevent the app from tracking your mileage consistently.
Your device and app should be able to track trips in the background. However, if you're using an Android, use Google's steps to make sure QuickBooks can run in the background. Then, disconnect your hotspot while driving (Android only). This way, it will not interfere with the trip recording accurately.