New Apple Patent Describes Sleep Tracking System With Bedtime Ritual Sensing and Power Nap Function - MacRumors
Skip to Content

New Apple Patent Describes Sleep Tracking System With Bedtime Ritual Sensing and Power Nap Function

by

A new patent filed by Apple in 2015, and published today by the United States Patent and Trademark Office, shines some light on what the company could be working on in regards to sleep tracking technology and its recent acquisition of Beddit. Called "Adjusting alarms based on sleep onset latency," the new patent describes in detail a system that could receive data from devices like an iPhone, Apple Watch, or a Beddit-like flat, flexible sensor, and intelligently track user behavior to help them get their best night sleep possible (via AppleInsider).

The patent explains that most people have typical bedtime habits recurring every night, such as going to the bathroom, shutting blinds, taking a shower, etc. These "sleep ritual activities" directly affect each person's "sleep onset latency," or the amount of time it takes you to fall asleep after first lying down and attempting to go to sleep. The problem with most modern alarm apps is that they can't understand a restless night's sleep, or a lengthy sleep onset latency period, and Apple's new patent tries to address these issues.

sleep tracking patent
The first step is for the sensors to determine your sleep ritual activities, and Apple's patent has a few ways to go about doing that. One is by using sound data, so when the device detects someone brushing their teeth, taking a shower, "or any other activity that generates an identifiable or unique sound," the sleep tracking system can start accumulating data for that night's sleep because it knows you're about to try to rest. Other tips related to sleep rituals for Apple's sleep tracking system include user movement, light/dark levels in a room, and even app usage.

In some implementations, sleep logic can identify sleep ritual activities based on application usage. For example, the user may have a habit of using specific software applications installed on computing device immediately before going to bed. The user can check calendar application. The user can set a wake up alarm using alarm clock application.

The user can use social media applications, news applications, a game application, an e-book reader application, and/or other applications before going to sleep. Sleep logic can monitor application usage before the predicted sleep time (e.g., 1 hour before, 0.5 hour before, etc.) and determine which applications the user uses before the user's predicted sleep time. Sleep logic can store the detected application use activities as sleep ritual activities in sleep ritual database.

Taking this information into account, once you actually try to go to bed, the sleep tracking system will begin looking at how long it actually takes you to fall asleep (heartrate and breathing are mentioned), remembering your sleep ritual activities and calculating how they affected your sleep onset latency. Apple's theoretical system would also understand when you're obviously not asleep, like if you're currently on your iPhone on another connected device, and adjust tracking accordingly.

All of this data then feeds into how the system would be able to automatically adjust pre-set alarms because of a potentially inconsistent sleep pattern. The basic idea of the patent simply adds on sleep latency duration to the following morning, so if the system tracked that it took you 45 minutes to fall asleep, and you have an alarm for 7:00 AM, it would wake you up at 7:45 AM.

Of course, that risks some users getting a later start on their day than they are comfortable with, so Apple's patent has a wide range of features that can prevent you from not waking up later than you intend to. The system would recognize calendar data, so if you have an appointment at 7:30 AM, your 7:00 AM alarm wouldn't be adjusted. Likewise, travel time to your first appointment of the day would be taken into account.

Similar to nighttime rituals, the system is said to also track how long your morning rituals last over time. Using this data, it'll also be able to figure out the best wake up time, so if you have a long morning ritual, your alarm might go off earlier than someone whose morning ritual is faster. Over time, all of the data gathered by the sleep tracking system would help users "feel more rested" throughout their day, according to Apple's new patent.

Particular implementations provide at least the following advantages: the mobile device can help the user feel more rested by automatically adjusting an alarm or suggesting an earlier bedtime based on the determined sleep onset latency to ensure that the user gets enough sleep; the mobile device can automatically determine sleep onset latency using various sensors of the mobile device; the mobile device can automatically identify sleep patterns that may be adversely affecting the user.

Additionally, Apple's patent even discusses an in-depth "nap function" for sleep tracking. In the user interface (seen below, image right), you would set up a nap schedule, determine when you want to wake up, and press and hold on the iPhone's display to begin your nap. The system would know the sleep onset latency because of this applied pressure, so when you first apply your finger to the display, it'll know the period has begun, and when you begin to release pressure (i.e. doze off), it knows you've begun napping.

sleep tracking patent 2
An alternative "power nap function" describes a way for a device -- here a "wearable device such as a watch" is specifically mentioned -- to wake you up when the system determines that you've entered and stayed in a deep sleep for a period of previously-determined time. After figuring out when your heart rate and breathing rate have reached the "deep sleep threshold" for a period of time, the system would begin waking you up, so you can "realize the benefit of sleep without the grogginess that is experienced when a user is awakened from a deep sleep."

The specific kinds of sensors referenced in the patent -- including light- and sound-based sensors -- are implemented in modern iPhones, but it's unclear whether a sleep tracking system described in today's patent would simply be an addition to an existing Apple device, a new iteration of a product like Beddit, or a combination of both. Apple slowly began expanding its sleep tracking support with "Bedtime" in the iOS 10 Alarm app, but that feature simply tracks the hours between when a user manually inputs a bedtime and when they silence the morning alarm, with no ability to understand how long the user is actually sleeping.

Of course, it's still unclear exactly what Apple intends to do with Beddit's technology, and today's patent comes with the usual warning to take everything detailed in it with a grain of salt. For a closer look at Beddit, check out the technology behind the flexible sensor, as well as our own review of Beddit's sleep monitor.

Tags: Beddit, Patent

Top Rated Comments

121 months ago
I think this is awesome, I hope they actually utilize the patent.
Score: 1 Votes (Like | Disagree)
121 months ago
Sounds like they gather a lot of data, but honestly if they can help me get better sleep I say gather away. Just don't share my data with anyone.
Score: 1 Votes (Like | Disagree)
OldSchoolMacGuy Avatar
121 months ago
Remember that the vast majority of what Apple (and every other large company) patents never sees the light of day.
Score: 1 Votes (Like | Disagree)
121 months ago
That's not creepy.

This is 1984 . The biggest company in the world knows when you're alseep.
Score: 1 Votes (Like | Disagree)
Cronbo Avatar
121 months ago
I can't wait for Apple to come out with a smart toilet, or fecal analyzer. Imagine what can be accomplished once humanity begins to take "smart-poops!"
Score: 1 Votes (Like | Disagree)

Popular Stories

iphone 18 pro max prepare

iPhone 18 Pro Max Requires 'Prepare to Ship' Battery Drain Before Shipping

Friday September 18, 2026 4:27 pm PDT by
The iPhone 18 Pro Max has a battery capacity over 20 watt-hours, which means there are additional shipping requirements. If an iPhone 18 Pro Max needs to be shipped somewhere, its maximum battery capacity has to be limited through firmware. According to Apple, the iPhone 18 Pro Max uses an "innovative battery-firmware solution" that limits battery capacity to below 20Wh between when the...
imac video apple feature

Apple Releasing Two New Macs Next Week

Friday September 18, 2026 10:07 am PDT by
Last month, Apple announced new Mac mini and Mac Studio models, and the computers are finally set to launch this coming Tuesday, September 22. The new Mac mini is available with M6 and M5 Pro chip options, while the new Mac Studio can be configured with M5 Max or M5 Ultra chips. To learn more, read our coverage:Apple Announces New Mac Mini With M6 and M5 Pro Chips and More Apple Unveils ...
iphone duo weather

Apple Exec Says 'Hold Us Accountable' on iPhone Duo Crease

Friday September 18, 2026 9:51 pm PDT by
Apple hardware engineering VP Tom Marieb spoke with TechRadar and shared some candid thoughts about Apple's upcoming iPhone Duo. The iPhone Duo uses a matte nano-texture display, which is meant to cut down on glare and minimize the visibility of the crease. When asked if the iPhone Duo's crease would be more visible over time, as that's what tends to happen on other foldables, Marieb said...
Latest Stories
iPhone 20 Pro Display Sizes Leak Ahead of 2027 Launch
iPhone 20 Pro Display Sizes Leak Ahead of 2027 Launch
32 minutes ago
Apple Watch Series 12 and Ultra 4 Owners Report Unexpected Reboots
Apple Watch Series 12 and Ultra 4 Owners Report Unexpected Reboots
3 hours ago
iFixit Shares iPhone 18 Pro Teardown With Inside Look at New Features
iFixit Shares iPhone 18 Pro Teardown With Inside Look at New Features
8 hours ago
Apple Fitness+ Layoffs Reported Ahead of Potential 'Major' Changes
Apple Fitness+ Layoffs Reported Ahead of Potential 'Major' Changes
9 hours ago
A Shorter Apple Pencil Was Supposed to Launch Alongside iPhone Duo
A Shorter Apple Pencil Was Supposed to Launch Alongside iPhone Duo
9 hours ago
Siri AI Settlement Website Now Live: Apple to Pay Some iPhone Owners
Siri AI Settlement Website Now Live: Apple to Pay Some iPhone Owners
10 hours ago
M6 Pro Chip Result on Geekbench is Likely Fake
M6 Pro Chip Result on Geekbench is Likely Fake
2 days ago
Apple Watch Ultra 4 Sees First Discount After Launch, Now $779.99 on Amazon
Apple Watch Ultra 4 Sees First Discount After Launch, Now $779.99 on Amazon
2 days ago
Top Stories: iOS 27 and macOS Golden Gate Out Now, Siri AI Waitlist, and More
Top Stories: iOS 27 and macOS Golden Gate Out Now, Siri AI Waitlist, and More
2 days ago
Apple Exec Says 'Hold Us Accountable' on iPhone Duo Crease
Apple Exec Says 'Hold Us Accountable' on iPhone Duo Crease
2 days ago
iPhone 18 Pro Max Requires 'Prepare to Ship' Battery Drain Before Shipping
iPhone 18 Pro Max Requires 'Prepare to Ship' Battery Drain Before Shipping
3 days ago
Hands-On With the Apple Watch Series 12
Hands-On With the Apple Watch Series 12
3 days ago
M5 Ultra and M6 Chip Benchmark Results Reveal Graphics Performance
M5 Ultra and M6 Chip Benchmark Results Reveal Graphics Performance
3 days ago
iPhone 18 Pro Max in U.S. Has Qualcomm's Snapdragon X80 Modem
iPhone 18 Pro Max in U.S. Has Qualcomm's Snapdragon X80 Modem
3 days ago
Apple Releases Xcode 27.1 Beta With iPhone Duo Support
Apple Releases Xcode 27.1 Beta With iPhone Duo Support
3 days ago
Apple Watch Series 12 vs. Ultra 4 Buyer's Guide
Apple Watch Series 12 vs. Ultra 4 Buyer's Guide
3 days ago
MacRumors Giveaway: Win an iPhone Duo From iMazing
MacRumors Giveaway: Win an iPhone Duo From iMazing
3 days ago
'Shop Different': Apple Retail Pioneer Ron Johnson Shares the Inside Story
'Shop Different': Apple Retail Pioneer Ron Johnson Shares the Inside Story
3 days ago
Apple Teams Up With ROSÉ for iPhone 18 Pro Camera Ad
Apple Teams Up With ROSÉ for iPhone 18 Pro Camera Ad
3 days ago
The MacRumors Show: Is the iPhone Duo Actually Worth It?
The MacRumors Show: Is the iPhone Duo Actually Worth It?
3 days ago
Apple Designers Explain the Thinking Behind iPhone Duo
Apple Designers Explain the Thinking Behind iPhone Duo
3 days ago
Are iPhone 17 Pro Cases Compatible With iPhone 18 Pro? Here's What Apple Says
Are iPhone 17 Pro Cases Compatible With iPhone 18 Pro? Here's What Apple Says
3 days ago
Apple Supplier Subsidiary Considering U.S. Flash Memory Factory
Apple Supplier Subsidiary Considering U.S. Flash Memory Factory
3 days ago
Apple Launch Day Deals on iPhone 18 Pro, AirPods 5, Apple Watch Series 12, and More
Apple Launch Day Deals on iPhone 18 Pro, AirPods 5, Apple Watch Series 12, and More
3 days ago
iPhone 18 Pro Teardown Reveals How Apple Shrunk the Dynamic Island
iPhone 18 Pro Teardown Reveals How Apple Shrunk the Dynamic Island
3 days ago
iPhone 18 Pro Demand Stronger Than Expected
iPhone 18 Pro Demand Stronger Than Expected
3 days ago
Fan Site Lets You 'Design the Next iPhone'
Fan Site Lets You 'Design the Next iPhone'
3 days ago
Apple Stores Have a New 'Hello' Easter Egg, Here's Why
Apple Stores Have a New 'Hello' Easter Egg, Here's Why
3 days ago
iPhone 18 Pro: The New Features You Should Try First
iPhone 18 Pro: The New Features You Should Try First
3 days ago
iPhone 18 Pro: Using the New Variable Aperture Lens
iPhone 18 Pro: Using the New Variable Aperture Lens
3 days ago