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”}
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
.
Exploring the Top 5 Voice AI Alternatives: What Sets Them Apart?
How iGaming Platforms Ensure Seamless Integration of Casino Games and Sports Betting?
The Rise of Spatial Computing: Evolution of Human-Computer Interaction
Data Loss on Windows? Here's How Windows Recovery Software Can Help
Integrating Widgets Seamlessly: Tips for Smooth Implementation and Functionality