Sleep tracking is an increasingly popular health trend that mobile app developers have been building applications to support. To simplify this endeavor and improve device performance, Google has added a new Android Sleep API that operates as an extension of its existing Activity Recognition API.