Tracking crashes, stops suddenly - Sleep as Android

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://sleep.urbandroid.org/docs/faqs/tracking_not_working.html

I am having an intermittent problem with the tracking stopping on its own for no known reason.

My first alarm is 7am to take meds. I will stop the alarm, take meds and go back to sleep. The nexy alarm is at 9am to wake me up since my narcolepsy medicine should be set in enough to stay awake. However, sometimes the tracking stops between the alarms at weird times today it stopped at 8:43 and I saw that when I woke up from 9am alarm. Was a bad night, so I wanted to sleep a bit more. Had to start tracking again and the later add that missing in-between time.

This has happened about 5 times in the last 2 months, best guesstimation, and seems to happen for no reason that I can see. Almost all settings are the same as I have had for years. It is so intermittent that I am not sure it is a “bug”, but maybe user error somehow?

Suggestions??

Hi @ShoalBear, if the tracking stops out of the blue, the app is usually killed by the system “optimizations”. Please, visit https://dontkillmyapp.com/, and disable all these restrictions for Sleep app, and anything system-wide (like Adaptive battery).
If this won’t solve the issue, use the Left ≡ menu → (?) Support → Report a bug. Thank you.

Hi @lenka-urbandroid

I see it’s been about 6 months since this was posted, and was coming back because it is still happening. I don’t remember if I did send a bug report or not. Is there a way to see in the app whether I sent one or not?

It happened again today and so I decided to come back here to update and get maybe more feedback from you. I did check and it has happened 7 times in the last month. A little less than a quarter of the time. Should I do a bug report again now? How can I see if I ever did send a first bug report?

HI @ShoalBear, the app does not store information about previously sent logs. If you still have issues with the app, please send the logs by using the Left ≡ menu → Support → Report a bug.

Were all the system optimizations disabled?