If the tracking stops completely after few minutes, the background processes are restricted by your system.
This is a companion discussion topic for the original entry at https://docs.sleep.urbandroid.org/faqs/tracking_not_working.html
If the tracking stops completely after few minutes, the background processes are restricted by your system.