Google’s Sleep API will Help Save Phone Battery


Google Sleep API is being made publicly available, and this will allow sleep tracking apps on Android smartphones use less power to detect sleep patterns, the tech company said. The Sleep API will be built right into Google Play Services, and will centralise sleep detection processing. It is one the Activity Recognition APIs which, “with the user’s permission, can detect user’s activities such as whether a user is biking or walking”. Google has collaborated with Urbandroid, the developer of the popular alarm app, Sleep As Android, for this.

As per a blog post by Google, the Sleep API is an Android Activity Recognition API that surfaces information about the user’s sleep after being given permission to do so. It uses an on-device artificial intelligence model which records input data, like the usage of screen and device movement, from the device’s light and motion sensors. The data is reported at a regular interval (up to 10 minutes) in the background. The sleep-tracking apps do the same process to deliver 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 more battery usage. Since the Sleep API will come built in the Google Play Services, users won’t be needing additional sleep-tracking apps to run in the background and get their sleep data. With centralised processing the phone’s battery will not suffer.

For this launch, Google has collaborated with Urbandroid, the developer of the popular alarm app, Sleep As Android. “The new Sleep API gives us a fantastic opportunity to track it automatically in the most battery efficient way imaginable,” the team said. Sleep As Android can be downloaded from the Android Store. As mentioned, the app must be granted 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 this on Orbital, our weekly technology podcast, which you can subscribe to via Apple Podcasts, Google Podcasts, or RSS, download the episode, or just hit the play button below.

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


Sourabh Kulesh is a Chief Sub Editor at Gadgets 360. He has worked in a national daily newspaper, a news agency, a magazine and now writing technology news online. He has knowledge on a wide gamut of topics related to cybersecurity, enterprise and consumer technology. Write to [email protected] or get in touch on Twitter through his handle @KuleshSourabh.
More

Jio Phone 2021 Offer: Brings Unlimited Voice Calls, Data, and Jio Phone at as Low as Rs. 1,499





Source link

Leave a Reply

Your email address will not be published. Required fields are marked *

Releated

ISRO Gears Up for Maiden 2021 Launch With Brazil’s Amazonia-1 Satellite

Countdown for the launch of PSLV-C51/Amazonia-1 mission commenced on Saturday from Satish Dhawan Space Centre at Sriharikota in Andhra Pradesh. “Countdown for the launch of #PSLVC51/Amazonia-1 mission commenced today at 08:54 am from Satish Dhawan Space Centre (SDSC) SHAR, Sriharikota. The launch is scheduled tomorrow at 10:24 am,” Indian Space Research Organisation (ISRO) said. Primary […]

%d bloggers like this: