Shuteye is an app for your smart device that allows you to track your sleep patterns and learn from your sleep cycles. It is a free app with in-app purchases.

Shuteye.png

You can find this app in your apple/android app store on your smart device