This new Android feature could change the way you send messagesAndroid 12 leak reveals sought-after features and a polarizing new lookChrome for Android adopts this excellent tab feature — How it works

Announced through its Android Developers Blog, the Sleep API is an Android Activity Recognition API that simply offers information about the user’s sleep habits. However, its low-power sleep tracking is the real catch, meaning our smartphone battery won’t be drained while we snooze. The feature could also come in handy for wearables that run on Wear OS. Using the Sleep API, it can report “sleep confidence,” which records data in 10-minute intervals, along with a daily sleep segment, which is reported after a wakeup is detected. As for how it detects, API uses an “on-device” artificial intelligence that uses the device’s light and motion sensors as inputs. This is a hint that it could be used with wearables, too. The announcement also states that permission must be granted for it to detect a user’s sleep. Developers will find the Sleep API ready to use via the latest version of Google Play Services, and it teamed up with Urbandroid who developed the alarm app Sleep As Android. The team stated that the new Sleep API will help its app track sleep “automatically in the most battery efficient way imaginable.” 

Android smartphones can now track your sleep without wasting battery  Here s how - 46Android smartphones can now track your sleep without wasting battery  Here s how - 5Android smartphones can now track your sleep without wasting battery  Here s how - 78Android smartphones can now track your sleep without wasting battery  Here s how - 60Android smartphones can now track your sleep without wasting battery  Here s how - 99Android smartphones can now track your sleep without wasting battery  Here s how - 42