Automatic sleep tracking - Sleep as Android

Automatic start after fall asleep is a breakthrough method invented by Urbandroid which uses Google’s Activity Transition API as a base to detect when you’ve gone to bed to start sleep tracking.


This is a companion discussion topic for the original entry at https://docs.sleep.urbandroid.org//sleep/automatic_sleep_tracking.html

My screen stay on when automatic sleep tracking is enabled, im not sure if its a problem with my phone or the app.

I have the problem of the app automatically turning my volume gradually off.

How do I disable this behaviour?

I want my volume to stay at the level that I set it.

In the lullabies section of the settings make sure the option “Turn off when Sleeping” is unchecked.

1 Like

Done. Hope it works! Thank you for the pointer…

The latest update made the automatic sleep tracking not work for me. It’s not sensitive enough to detect that I’m sleeping.

Hi, can someone explain what is the “sleep time estimate” option for and how does it work? I have trouble understanding it.
Today, my sleep monitoring ended 3 hours before I was awake and I believe that it might be related.
I’m using Amazfit Band 5 for sleep tracking and “Notify & Fitness” app showed my sleep time just fine. Wearables settings in SAA are OK, it sees heart rate, so it surely communicate with the band.
I have the band from 3 days and today was the first day that this situation happened. On weekdays I wake up 7-8AM, but on weekends I sleep till 10-11AM. Today (Saturday), I was sleeping till 10 AM, but the sleep tracking in SAA ended on 7:10 AM. The “sleep time estimate” option was set to “save automatically”. Might it be related? Thanks :slight_smile:

EDIT: I found something about it on old documentation page:

"Settings > Sleep tracking > Sleep time estimate

Sleep time estimate uses Google Activity Transition API to check when you have most probably been asleep. No direct sleep tracking occurs with Sleep time estimate, so you’ll only get sleep duration tracked.

Every day when you didn’t track your sleep, you’ll receive a notification with a sleep time estimate.

You can configure the feature to just notify you with the Add action or make the app save sleep automatically to your sleep history."

So, I mostly understand that setting now. But am I right, that since I’ve got automatic sleep tracking option enabled, sleep time estimate should be disabled/overridden by auto sleep tracking?