Categories: NewsTech

Google launches an API for sleep tracking on Android

To perform a sleep tracking no need to have an activity bracelet. Can measure sleep from our Android mobile with applications that from now on can use less battery.

After launching more than two years ago the [API de actividades](Activity recognition API), Google is now launching the new Sleep API, a new feature that developers can use in their applications to detect when we are sleeping in a more efficient way.


{“videoId”: “x7zhhij”, “autoplay”: false, “title”: “COMPARISON of SMARTWATCH 2021 – What is THE BEST SMARTWATCH”}

The sleep API

Google reports that this new API is very important for developers year tracking applications, as they will not have to spend valuable engineering time combining the signals from the sensors to detect when the user has started or finished sleeping, with detection algorithms that are inconsistent between applications and also verify independent and continuous changes in user activity. When there are several applications that try to find out if we are sleeping or awake, the battery life is affected.

With the Sleep API, developed in collaboration with the creator of Sleep As Android, the processing of sleep detection is centralized in a single API, so that the applications that make use of this API will not consume more battery, since Google Play Services will calculate for all applications our sleep activity. Not like now, that each application tries to detect our state.

Google already uses this sleep API in several of its applications, as in the Clock application that allows us track our dream and the activity we do at hours when we should be sleeping.

Via | Google


The news

Google launches an API for sleep tracking on Android

was originally published in

Xataka Android

for
Cosmos

.

Me Time Tech

Recent Posts

The Rise of Spatial Computing: Evolution of Human-Computer Interaction

The Rise of Spatial Computing: Evolution of Human-Computer Interaction

2 months ago

Top 10 Benefits of AWS

Top 10 Benefits of AWS

2 months ago

Data Loss on Windows? Here’s How Windows Recovery Software Can Help

Data Loss on Windows? Here's How Windows Recovery Software Can Help

6 months ago

Integrating Widgets Seamlessly: Tips for Smooth Implementation and Functionality

Integrating Widgets Seamlessly: Tips for Smooth Implementation and Functionality

8 months ago

6 Tips to Reach Parents About Your School Sports Day Event

School sports days are a fun event for all students, but it’s important that the…

8 months ago

9 Reasons for Developing Your Own Mortgage App

9 Reasons for Developing Your Own Mortgage App

10 months ago