Google’s sleep API to improve sleep tracking, save your phone battery

The Google Sleep API is being made publicly available to detect take sleep patterns, and this allows sleep tracking apps on Android smartphones to use less power. The Sleep API will be built into Google Play Services, and will centralize sleep detection processing. It is an activity recognition API that, “with the user’s permission, can detect the user’s activities such as when the user is riding or walking the bike”. Google has collaborated with Urabandroid, the developer of the popular alarm app Sleep as Android, for this.

According to a blog post by Google, Sleep API is an Android Activity Recognition API that gives information about a user’s sleep after being allowed to do so. It uses an on-device artificial intelligence model that records the input data from the light and motion sensors of the device like a screen and the movement of the device. The data is reported in the background at a regular interval (up to 10 minutes). Sleep-tracking apps perform the same procedure to convey information about your sleep, however, the detection algorithms of those apps may be inconsistent.

If a user has multiple apps, they will independently and continuously check for changes in user activity, leading to greater battery usage. Since the Sleep API will be built into Google Play Services, users will not need additional sleep-tracking apps to run in the background and get their sleep data. With centralized processing, the phone battery will not be damaged.

For this launch, Google has collaborated with Urabandroid, the developer of the popular alarm app, Sleep as Android. “The new Sleep API gives us a great opportunity to automatically track it in the most battery efficient way imaginable,” the team said. Sleep as Android can be downloaded from the Android Store. As mentioned, the application must allow the physical activity recognition runtime permission from the user to detect sleep, Google said.


What will be the most exciting tech launch of 2021? We discussed our weekly technology podcast on Orbital, which you can subscribe to via Apple Podcast, Google Podcast or RSS, download the episode, or simply hit the play button below.

For the latest tech news and reviews, follow on Gadgets 360 Twitter, Facebook, and Google News. For the latest videos of gadgets and tech, subscribe to our YouTube channel.

Saurabh Kulesh is a Chief Deputy Editor at Gadgets 360. He has worked in writing a national daily newspaper, a news agency, a magazine and now tech news online. He has knowledge on many subjects related to cyber security, enterprise and consumer technology. Write to [email protected] or contact on Twitter via your handle @KuleshSourabh. Excess

Jio Phone 2021 offer: brings unlimited voice calls, data and Jio phones as Rs. Is 1,499

.

LEAVE A REPLY

Please enter your comment!
Please enter your name here