FAQ

Alarms

Issue: When alarm goes off, it does not disable the lockscreen and you have to manually unlock the device to tap snooze or dismiss.

Explanation: You may have Sleep as Android enabled under Border lights. This causes the alarm popup to not display over the lockscreen, as the notification is being shown as a light around the edge of the screen.

Solution: Disable Border lights for Sleep as Android in your device’s settings.

Category: Alarms

On Xiaomi/MIUI, you need to grant special permission to Sleep as Android so that it may unlock your screen during alarm.

Go to System Settings > Permissions > Advanced Permissions > select Sleep app and give it permission to access Lockscreen.

Category: Alarms

Settings for Captchas are set in Settings > CAPTCHA. Select the Captcha you’d like to adjust, then select Settings. You can also preview the Captcha.

For QR/NFC Captcha, you can learn the code for recognition by tapping the “learn” button in Settings, and delete the code by tapping the trashcan icon in the same screen.

Categories: Alarms, General
Tag: captcha

You always get full screen alarm, when at least one of the following is true:

  • sleep tracking is running
  • if you have a keyguard (lockscreen) set up
  • if you have a Settings > Alarm default settings > Flip to snooze option turned on

It sounds a little hacky, but the reasoning is simple. Some people want to use the heads up notification, it can be convenient if the alarm rings while you’re operating the phone. Flip to snooze is an option that cannot work with notification (it is impossible by design), so if you turn it on, we forbid all heads up notifications and go to “full screen alarm only” mode.

On Android M, it is also possible to turn off heads up notifications per app in Android Settings > Apps > Sleep as Android > Notifications > Allow peeking.

Category: Alarms

Alarm ringtone can be configured on two places. Globally for all new alarms in Settings but this may be overridden for each individual alarm in per-alarm settings. Please check both places if you setting is correct.

Category: Alarms

You are probably using the stamina battery saving mode or Extended Standby Mode which prevents Sleep as Android from waking up the device ans so the alarm will not ring if this mode is enabled.
For stamina mode, you can either disable this mode or add Sleep as Android to the active applications in standby. The option resides in settings->Power management. To add Sleep as Android to the active applications in standby, click on “stamina mode”, then “Add applications” and check Sleep as Android.

To disable Extended Standby Mode, go to settings->Power management and then uncheck Extended Standby mode.

Category: Alarms

General

With Sleep as Android, you are also getting your data compared to the data of people who have contributed to SleepCloud.

You can see this in statistics screen as well as in advices and in some charts. Don’t worry, if you do not use SleepCloud, your data are not saved in cloud and used for this comparison.

c69f6d8a-cfbc-4298-8316-e3db8a949b05screen16-59-43_framed

Category: General

You have probably activated Prevent escaping CAPTCHA option.

This option registers the app as a device administrator in order to block turning off the phone when an alarm rings.

To uninstall the app, you have to unregister the app as device administrator first. This is usually done as follows:

  1. System settings >Location and Security > Device Administrator and deselect the admin which you want to uninstall.
  2. Now uninstall the application. If it still says you need to deactivate the application before uninstalling, you may need to Force Stop the application before uninstalling.
Category: General

The following should hopefully solve your problem:

  • start sleep as android
  • wait for ~15 minutes
  • click on menu > backup > upload to cloud.

The upload should be unrestricted at that point. Let us know if that does not help.

Settings for Captchas are set in Settings > CAPTCHA. Select the Captcha you’d like to adjust, then select Settings. You can also preview the Captcha.

For QR/NFC Captcha, you can learn the code for recognition by tapping the “learn” button in Settings, and delete the code by tapping the trashcan icon in the same screen.

Categories: Alarms, General
Tag: captcha

Usually this is not caused by the sleep tracking directly as this is usually not consuming too much resources (usually around 1-3% battery per hour of tracking).
The issue appears because we hold a wake lock (keeping the phone awake) – any badly written apps may access the CPU extensively during the sleep tracking time. We suggest checking which services are running before you get to sleep.
For us it is hard to debug this. Also battery statistics are not a hint here as all battery consumption is accounted to the app which holds the lock even it did not consume the battery – this is by design in Android.

To conclude, this issue may happen, although we did not get any similar reports for a very long time now. But the most probable cause is some wrong 3rd party service or app on your device.

To see more on the issue we would need a debug report (menu > report a bug).

A good test would be to reboot Your phone before sleep tracking (or kill any unnecessary services running) and see if that helps.

Category: General
Tags: hot, warm

Sleep as Android is not officially supported on Blackberry. However, a lot of users have reported running it without any hassle.

Often an issue is when you try to unlock Sleep as Android. You won’t be able to install the “Sleep as Android Unlock” app from the Play Store. A working solution is to buy the unlock and then send us a proof of purchase and your phone’s IMEI number (at [email protected]). We’ll unlock the app specifically for your phone.

Category: General

This is great! Please drop us a line on [email protected]!

Category: General

Please first check to you have sufficient connectivity, ideally a home WiFi at the time of synchronization. If synchronization is still an issue, please send us a debug report directly from the backup add-on in Settings > Backup > Menu > Send debug.

Category: General
Normally we use Google’s backup function. So if enabled in  Device settings > Privacy and after installing Sleep as Android on the new device you will get all your settings, alarms and other data. This assumes you install with a fast network connection enabled.
You an also do a manual export/import process. In the Graphs tab, please use [MENU] > Backup > Export and make sure the dialog says successful. Than copy the directory/sdcard/sleep-data to you new phone’s SD card. Install Sleep as Android on the new phone and do [MENU] > Backup > Import. This should preserve your sleep data. You will need to adjust the settings manually.
Third option is to use some of the Cloud Backup methods from the SleepCloud Add-on.
Please see more on this in Backup.
Category: General
Tags: backup, export

Many users asked for the ability to wake up with light. This is possible with the phones flashlight and to start the flash light you need the camera permission. Unfortunately permissions are very rigid and you cannot turn them off selectively and in many cases you need a permission only if you use a very specific sub-feature. For example we need many connectivity related permissions even GPS just to be able to turn on the airplane mode when sleep tracking starts. Please see all our permissions explained in Permissions.

Category: General

Integrations

Check your HR settings in the Mi Fit app.

When the Mi Band is in “Sleep Assistant” HR mode in Mi Fit, it doesn’t feed the HR data to Mi Band Tools / Sleep as Android. When it is in regular HR tracking mode (24-hour), it works.

View .png attachment

Category: Integrations

Due to an issue in our Tasker integration, we had to disable it by default in one of the releases in mid-2017. Please go to Settings – Service – Taker and re-enable it there. Sorry for the trouble.

Category: Integrations

This is a bug in S Health that the S Health team promised to be fixed way back in S Health v4.6, but didn’t.

We got the following guide on how to resolve this S Health issue from the Samsung S Health team:

In order to resolve this issue, user can try either one of following:
1) Clear S Health data from Android Settings > Applications > S Health > Clear data.
2) Change the locale of the phone and wait 1 day.

Category: Integrations

If you are using the “skip alarm for holiday” feature, SaA might offer to skip your next alarm even if there is no holiday in your country tomorrow. This is because we use Google public holiday calendar, which is sometimes wrong.

Please see the docs to fix this issue.

Category: Integrations

When blocking cards from other apps that you didn’t want to go to your watch, you might’ve accidentally blocked Sleep as Android. Delete the block.

Please see https://sleep.urbandroid.org/documentation/extended-features/apnoe/#troubleshooting

Category: Integrations

For a list of currently supported devices, go here. There is also a list of devices that we cannot possibly integrate.

If you’d like us to integrate another device, please add it as a suggestion to our Uservoice. Also please check whether the device has an API so we can integrate it.

Category: Integrations

Please check our integrations table – only devices with a heart icon will measure heart rate with Sleep as Android. Other smartwatches with HR sensor need to go around SaA – save HR to S Health or Google Fit, from where Sleep as Android will download it. Please note that Sleep as Android downloads the measurements usually with a day’s delay (the sync is triggered once another record is saved).

Please make sure you did enable Settings > Wearables > [Heart rate monitoring] Bluetooth Smart. Also try to pair with your device (this may not be required for all devices and OS versions). Make sure no other app is using your device while sleep tracking. If nothing helps please send us a debug report using [MENU] > Report a bug.

CAUTION: BT Smart heart rate tracking only works from Android 4.3 onward

Category: Integrations

Noise & Snoring

Please check that you have enabled noise recording in Application settings → Sleep noise recording. Noise recording in not enabled by default as it causes slightly increased battery consumption during sleep tracking.

Next please check your Application settings → Sleep noise recording → Recording volume threshold you may want to lower your threshold in order to get more recordings, 20% is the default but 10% may be a better match for your device.
Also Application settings → Sleep noise recording → High quality recording is good to enabled as it features a better algorithm to capture significant noises.
Next try to adjust the recording threshold. You can start very low – for example 5/100…If you start sleep tracking you see a recording progress bar at the top. There are two indicators, one shows the actual threshold and the other the actual recorded level. When even the second line gets over the first line recording starts.
Please do a loud noise to calibrate the scale and then try to make a normal noise you would expect sleep talk would be during night. If you see your talking is getting recorded (red icon to the left) than you are setup. Otherwise please try to adjust the recording threshold.
In case you are still suffering issues please send us a debug report (Alarms tab → menu → send debug).
Category: Noise & Snoring

If your noise recording quality is bad and you hear static noise you may consider enabling  Application settings → Sleep noise recording → High quality recording.

Category: Noise & Snoring

The lower number the more recording you’ll get. So with 10% you can expect more recordings than with 20%. 100% will cause no noise being recorded.

Category: Noise & Snoring
First, a good thing to have is auto-delete, which will delete your noises automatically after one week. This is enabled by default in Settings > Noise recording.
Second, you can go to the noise tab, click one of the noises and use “Delete all unstarred recordings”.
Also if you are getting too many noises from the night, you may consider a higher recording threshold in Settings > Noise recording.
Category: Noise & Snoring

Please try to lower the Application settings → Sleep noise recording → Recording volume threshold. Also please try to enable the high quality recording in Application settings → Noise recording as recording triggering is improved with this option. For more info refer to Noise recording.

Category: Noise & Snoring

Sleep tracking

Accelerometric sensors are really sensitive, which is great for sleep tracking. Normally, what you see when you leave the phone on the table gets immediately dwarfed when you do some more significant move. Just leave phone on the table for a while and you will see a dramatic development, but then move the phone and you will see all the development is really tiny in comparison to the new peak.

So what you see is random noise, given by very small vibrations of the table or in very calm areas by seismic movement. We mark the data relatively, so you always get it distinguished into light and deep sleep. But the algorithm works well only in conditions that are assumed by it, i.e. in the bed with relatively large movement peaks.
To be more specific, if you leave the phone on a table, you can get values perhaps on the scale of 0.000001 to 0.000009 m/s2 (The value is made up here, but it is physically very small). In the bed, you may get values from 1 to 9 m/s2 (which is physically large). The algorithm sees though just that the high value is 9 times higher than the low value, in both cases.
We had to do this because every accelerometer (in different cell phones) measures differently, so we couldn’t assume any standard conversion formula that would respond to absolute values.

So if you use the phone in the bed, it is in fact drastically different from measuring on a calm spot, just like the table.

Please do not hesitate to ask for any clarification at [email protected]

Category: Sleep tracking

Huawei together with Xiaomi are the most troubled phones on the market, Chinese vendors tent to ignore Android best practices and implement very bizzare custom modification which make background task nearly impossible to run.

Please take a look at http://sleep.urbandroid.org/documentation/faq/alarms-sleep-tracking-dont-work/

Category: Sleep tracking
  • Is sleep tracking with sonar safe for your health?
    • Ultrasound is generally considered safe if it is at normal volume. Regarding health effects, it works in a similar way to normal hearable sound, i.e. very loud ultrasound can damage your hearing, whereas at low volume it is safe to hear. When using speakers, smartphones are nowhere close to be able to produce such loud sounds as to damage your hearing.
      We also use ultrasound that is very close to the hearing range (around 20 kHz), so the effects of the ultrasound are almost identical to hearing a high pitched sound at the same volume (expect you can’t hear it at all).
      The ultrasound volume we use is around 40 dB – which is lower than normal speech volume. You can measure the sound level yourself using e.g. this app.
  • Is sonar safe for your pets (cats, dogs, bats)?
    • For pets that are able to hear it, the ultrasound emitted from Sleep as Android is a constant low noise. The situation is similar to e.g. refrigerator noise. It is there, you can hear it, but it’s not so much disturbing. The ultrasound definitely cannot damage your pets hearing at the volume used in Sleep as Android.
    • Bats can be confused and fly into walls.
  • Is sleep tracking with sonar safe for your smartphone?
    • The only difference between normal hearable sound and our sonar is that the frequency is a little higher (normal frequencies 2 Hz-20 kHz, our sonar frequencies 18 kHz-22 kHz).  This is so small difference for the mic and speaker membranes that there is definitely no chance of damage, even with prolonged usage.
Category: Sleep tracking

When blocking cards from other apps that you didn’t want to go to your watch, you might’ve accidentally blocked Sleep as Android. Delete the block.

Sleep as Android doesn’t come with automatic sleep tracking. Actigraphy by itself isn’t a good method to tell if you have fallen asleep.

On the other hand, you can setup Sleep as Android to start sleep tracking at specific time, using Tasker. Just install Tasker and create a profile which starts “Start sleep tracking” event at the time of your choice.

Category: Sleep tracking

Please check our integrations table – only devices with a heart icon will measure heart rate with Sleep as Android. Other smartwatches with HR sensor need to go around SaA – save HR to S Health or Google Fit, from where Sleep as Android will download it. Please note that Sleep as Android downloads the measurements usually with a day’s delay (the sync is triggered once another record is saved).

Please make sure that you are not accidentally starting the Sleep as Android app from your watch. This would start sleep tracking immediately.

On Samsung S2, we observed an issue where sleep tracking started really on its own. We have found a solution for the issue, so please uipdate to the latest version of Sleep as Android to have it.

Category: Sleep tracking

Unfortunately, quite a lot Android devices out there do not support gathering accelerometric data (sleep tracking) with screen-off. This is duo to a bug which is on 100% of devices with Android version 1.6 to 2.3.4, on many +2.3.5 device and even on several devices with +4.0. We are doing an automated detection of whether you device is screen off tracking capable or not. In case we detect it isn’t we turn screen on automatically during sleep tracking in order to keep tracking functional.

If you think we did detect your device incorrectly you may try to re-detect using the following process:
1) Go to settings misc.
2) See what does the option “Screen-off tracking” say.
3) You can try to reset this option by clicking on it and confirming.
4) Then turn off the screen, wait for ~3 minutes and turn it back on.
5) See what does the option say now. If it says the screen-off tracking is supported, the next tracking you run should automatically turn off the screen. If it, on the other hand, says it is not supported, then your phone likely does not allow sleep tracking with screen off. You can try to use an option lower in the menu “Force screen-off tracking”, but beware it may result in sleep tracking and smart wake up malfunctioning
Category: Sleep tracking

Crashing during sleep tracking seems very rare but still may happen on some firmwares, especially on custom ROMs.

Here is a list of featured with has been reported as causing rare crashing issues on specific firmwares. You may want to try disabling them:
– noise recording
– screen dimming
– wake up with flashlight
Also make sure you don’t use any task killer apps or automated backup tools. And if you insist on using them than please try to white-list Sleep as Android.
Also it may happen that the app updates during the night. We have a restarting mechanism in the Sleep as Android Unlock app which shall restore sleep tracking under normal conditions. If this mechanism is failing for some reason you may want to disable auto-updating or track with airplane mode which is anyway highly recommended.
Finding out what is the cause of the problem on each individual firmware is a very difficult task as this problem is not caused by the application but on the contrary by a bug in the firmware itself.
If you would like to help us debug the problem please try the following (SD card needed, Android <4.2!):
1) Download alogrec (free) from Play Store
2) Start it before you start tracking.
3) Start tracking.
4) If the tracking is not running in the morning, send us the output of alogrec.
Category: Sleep tracking

Unfortunately due to dummy security restrictions the Android team introduced in 4.2 there is no option to enable airplane mode from an app automatically. You always have to use the settings or long touch power button. If you have a rooted phone you may consider using https://play.google.com/store/apps/details?id=lv.id.dm.airplanemh we have support for that in Sleep. There is a similar hack for 4.3.

If you don’t agree with the Android team design decision you can upvote issue 40497 here http://code.google.com/p/android/issues/detail?id=40497.
Category: Sleep tracking

Usually battery consumption issue or related issues causing phone over-heating during sleep tracking are not caused by the sleep tracking directly.

In most cases sleep tracking itself is not consuming too much battery (usually around 1-2% per hour of tracking). But because we hold a wake lock (keeping the phone awake) any other usually badly written apps may access the CPU extensively during the sleep tracking time. We would suggest checking which services are running before you get to sleep. For us it is hard to debug this. Also battery statistics are not a hint here as all battery consumption is accounted to the app which holds the wake lock even it did not consume the battery (this is by design in Android).
A good test would be to reboot your phone before sleep tracking (or kill any unnecessary services running) and see if sleep tracking will still consume too much battery afterward. Features within Sleep as Android which may cause higher CPU load during tracking include noise recording. You may try tracking without it for a reference. Also I would strongly recommend to track with airplane mode on.
Category: Sleep tracking
Tags: battery, hot

On Galaxy Nexus and few Motorola devices, you may be experiencing an issue that the sleep graphs turns wild at a specific hour during all tracking.

There is a known bug in acceleremeter which is causing the accelerometer data to go wild whenever any other app touches the accelerometer and sets it to mode DELAY_NORMAL. The apps we know about are triggering this is Noom Weight Loss and Noom Pedometer. But in general, although we are not sure, we believe this may be triggered by any other app which is using the accelerometer.
Category: Sleep tracking

From various error reports we know that the accelerometer sensor implementation on some firmwares has issues. Over the time the accelerometer may get into a broken state and it stops sending data. The only way we know to resolve this issue is to do a reboot. In all cases so far, reboot did solve this issue.

To test whether the accelerometer is working, you can use menu > test sensors or some 3rd party app such as Sensor List.

Category: Sleep tracking

This depends on several factors. The general rule is to not allow the pet to move your phone, ideally only your movements should move the device. So in this case it’s best to place Your device either under the pillow or to have an armband or smartwatch/smartband. If your pet is a calm one, it may just work. However, if your pet is used to jump in and out of bed several times a night, the sleep tracking will most probably register these events as light sleep occurrences.

Category: Sleep tracking

The red block indicates that something went wrong with tracking at that time. We did not get the expected data from accelerometer. Maybe Your phone has restarted or if You are using smartwatch, we could have lost connection to it.

Category: Sleep tracking

Battery saving mode currently resumes full tracking before the smart wake up period in order to find the best moment for your wake up, so the tracking uses up just a fraction of the battery consumption for the whole night. If the battery would drop under your defined stand-by threshold (default: 10%) the battery saving mode will re-occur.

Category: Sleep tracking

Filter is based on comments and tags. For example you can easily only show your graphs when you did some sport the day before by typing sport into the filter field.

Category: Sleep tracking

Please refer to our documentation How it works.

Category: Sleep tracking

In most cases sleep tracking itself is not consuming much battery (usually around 1-2% per hour of tracking). But because we hold a wake lock (keeping the phone awake) any other usually badly written apps may access the CPU extensively during the sleep tracking time and the consumption is anyway mistakenly accounted to the app holding the wake lock (Sleep as Android in this case). We would suggest checking which services are running before you get to sleep and try to kill some of them or reboot your phone prior tracking. For more details, please read Troubleshooting.

Category: Sleep tracking

Probably your phone has been detected as unable to track with screen off (please check Application settings → Misc → Screen off tracking). Please see Troubleshooting for more details.

Category: Sleep tracking

You are free to use any mp3 files you like or any player. Just start the playback in your favorite player. Lullaby volume down will take care to bring to volume down after you fall asleep. For more details refer to Lullabies.

Category: Sleep tracking

We calculate 4 most frequent places from a year of data history. I year should be sufficient so that you can for example watch your sleep at your holiday home where you go regularly in the summer. Should you move, your new home will gradually become geo3->geo2->geo1->home after some time as it becomes dominant in your data.

Category: Sleep tracking

We use a method called sleep actigraphy and there are several scientific papers which show that it is not as precise as PSG but still provides reasonable data and more over it is more convenient for the user. The phone has an accelerometer sensor build in which is very sensitive and if placed in your bed we have a record of your movement over the nigh. In deep sleep your muscular movements are suppressed (otherwise you would be running or jumping around according to your dreams :)) and thus in this phase the sleep graph gets nearly flat. This is in short how we measure your sleep phases, for more details refer to How it works.

Category: Sleep tracking

If you have separate mattresses there is minimum interference from your partner. If you have one big shared mattress (which isn’t recommended as you partner may need different mattress for his healthy sleep), it could still work assuming you keep your phone close to your body and ideally on your side of the bed. You can also consider using a armbands or smartwatches, please check here. This certainly solves the problem for a little convenience trade-off.

Category: Sleep tracking

Unlock & Payments

The following should hopefully solve your problem:

  • start sleep as android
  • wait for ~15 minutes
  • click on menu > backup > upload to cloud.

The upload should be unrestricted at that point. Let us know if that does not help.

There are many problems that can occur between Play Store and your phone. Most often they result in an error and inability to download and install the app you want.

Examples of the codes are Error -24, 905, 963, RH-01, and many more. Google doesn’t provide an explanation for those codes, so the internet is full of guesses what they mean and how to solve them. Usually the solution involves cleaning cache of Google Play Services, uninstalling updates for Google Play Services, removing or factory resetting the phone. Sometimes it also suffices to unmount your SD card. Sometimes the error is a temporary glitch on Google servers.

The most comprehensive effort to understand Play Store errors and find solutions is here.

Please note that we are not able to solve any Play Store errors. This is solely between you and Google.

The purchase process is done by Google and is completely out of our control. But from other users’ experience any duplicate charges have always been refunded after a while automatically by the Google payment system. You can check if this has already happened in your Google Wallet account.

Please let us know at [email protected] if no refund is made for several days.

Did you buy the unlock as a separate app (“Sleep as Android Unlock“) or as an in-app purchase? The solution is different in each case.
  • For separate app
    • Please make sure you have installed both Sleep as Android as well as Sleep as Android Unlock in your phone settings->apps->downloaded.
    • If not, head to the Google Play Store and download Sleep as Android Unlock again! As long as you use the same Google account you did the purchase with as your primary account in Play Store it remembers your purchases and you should be able to download again.
    • If you are unable to download it (you see a price instead of download button), please go to the Play Store on your computer and check if you are able to download it there.
  • For in-app purchase:
    • If you have bought the unlock as an in-app purchase, a bug with the Play Store app might very rarely occur. Play Store sometimes doesn’t report that there are in-app purchases in your account. This can have multiple reasons, most likely because you have multiple Google accounts on your phone.
      There are few ways that you can try to go around that:

      • After the initial purchase, you need to wait for a while (maximum a few hours), the app should contact the licence server and unlock itself. If it does not, then:
      • make sure the Google account your did purchase the app with is the primary account on all your devices in the Play Store app,
      • go to “My apps” in the Play Store app in order to refresh, then restart your phone. This is super important.
      • If the app doesn’t seem to unlock, please reinstall the app, this has solved the problem for many users recently.
      • Another way that seemingly helped recently:
        • Uninstall Sleep as Android
        • In a BROWSER on your desktop: Log in to the web interface of Google Play with the account you used to purchase
        • Install Sleep as Android from the web interface to your device
        • Don’t let it open the Play Store app, but use the install button and choose your device in the browser.

Please send a debug report ( alarmlist>menu>report a bug) if the issue should persist. Also please let us know the order number of your purchase. This is included in your purchase confirmation you should have received via email – or you can check it at payments.google.com.

Sleep as Android can also be purchase also at Amazon AppStore, but Amazon releases are a bit outdated. Please contact us ([email protected]) for other purchase options.

Please note that after the trial period is over you are free to continue using the app. The main limitation is that the sleep tracking functionality will be disabled for sleeps starting on Mon, Wed, Fri and Sat. But you can still track the other days and use all the alarm related features such as CAPTCHA, Bedtime… every day.
Also after the trial you may be seeing advertisements in the app. With the Unlock you also get access to more nature sound ringtones and lullabies. If you decide to purchase the full version we would of course very much appreciate that as it helps us to constantly improve the application.