Android smartphones can now track your sleep without wasting battery— Here's how

Android Device Low-Power Sleep Tracking
(Image credit: Android Developers)

Tracking how you sleep through a smartphone or smartwatch is always handy, although doing so can even drain smartphones with the best battery life. However, now we may see many more apps utilizing the feature on Android, and it won't cause your device to be shut down by the time you wake up.

Google announced it is making its Sleep API publicly available to users and developers, meaning more third-party apps on Android devices can use its low-power sleep tracking mode. 

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." 

Darragh Murphy
Editor

Darragh Murphy is fascinated by all things bizarre, which usually leads to assorted coverage varying from washing machines designed for AirPods to the mischievous world of cyberattacks. Whether it's connecting Scar from The Lion King to two-factor authentication or turning his love for gadgets into a fabricated rap battle from 8 Mile, he believes there’s always a quirky spin to be made. With a Master’s degree in Magazine Journalism from The University of Sheffield, along with short stints at Kerrang! and Exposed Magazine, Darragh started his career writing about the tech industry at Time Out Dubai and ShortList Dubai, covering everything from the latest iPhone models and Huawei laptops to massive Esports events in the Middle East. Now, he can be found proudly diving into gaming, gadgets, and letting readers know the joys of docking stations for Laptop Mag.  

Latest in Android Phones
Nothing Phone 3a Pro camera module
Forget the iPhone 16e! These 3 mid-range phones are the ones you want to buy
Nothing Phone 3a Pro in hand
I tried Nothing's Phone 3a Pro for a week and I've got bad news for the iPhone 16e
Nothing Phone 3a Pro in hand
Nothing Phone 3a Pro hands-on: This camera is literally a big deal
nothing phone 3a
Nothing's Phone 3a is coming soon and may have one huge camera upgrade
Samsung Galaxy S25 Ultra
Galaxy S25 Ultra preorder deal: Stack up to a $900 trade-in with a free storage upgrade and $80 in Samsung credit
Samsung Galaxy S25 Ultra held in hand with the back facing the camera and an S Pen resting on it, while a diagonal split screen view shows an iPhone 16 Pro max held with its back facing the camera.
The results are in: Samsung Galaxy S25 Ultra crushes Apple iPhone 16 Pro Max in lab tests
Latest in News
Nintendo switch 2 virtual game card
Nintendo's Virtual Game Card feature might be more revolutionary than the Switch 2
A close-up of a light-colored computer keyboard shows the keys T, Y, G, and H replaced by the logos of OpenAI, DeepSeek, Grok, and Gemini, the leading competitors in the artificial intelligence market. This serves as a visual metaphor for the intense rivalry and innovation in the AI industry. (Photo by Matteo Della Torre/NurPhoto via Getty Images)
Is generative AI inadvertently reducing the voices of many to the banality of one?
Asus ROG Ally Z1 on a brown table with the game Unpacking played on screen.
Handheld gaming PCs have a Windows problem — but maybe not for long
WWDC 2025 could mark the beginning of the end for certain iPhone users
Error when installing Google Chrome on the Asus Vivobook 16 Flip, on a white desk against a blue background.
"This app can't run on your PC": Google's Chrome Installer broke on Windows, but there's a fix
Nintendo Switch 2 handheld gaming console
Nintendo Switch 2 preorder date: It might be a lot closer than you think, say tipsters