Google is making its Sleep API publicly available. The API is used to power features like Bedtime mode in Google's Clock app. Developers can now use the Sleep API as part of the latest Google Play Services. Google has decided to make its Sleep API publicly available to help Android users stay informed about their sleep and allow developers to create great sleep tracking apps that have minimal impact on battery life. Most developers currently use detection algorithms that are inconsistent between apps. When multiple apps check for changes in user activity independently and continuously, your phone's battery drains faster than usual.