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: patent, Beddit

Top Rated Comments

ILuvEggplant Avatar
50 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)
OldSchoolMacGuy Avatar
50 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)
Dainin Avatar
50 months ago
I think this is awesome, I hope they actually utilize the patent.
Score: 1 Votes (Like | Disagree)
Cronbo Avatar
50 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)
omihek Avatar
50 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)

Top Stories

samsung experience 1

Samsung's 'iTest' Lets You Try a Galaxy Device on Your iPhone

Thursday April 8, 2021 12:42 pm PDT by
Samsung has launched "iTest," an interactive website experience that's designed to allow iPhone users to test out Android on a Galaxy device, or "sample the other side," as Samsung puts it. Subscribe to the MacRumors YouTube channel for more videos. The iTest website is being advertised in New Zealand, according to a MacRumors reader who came across the feature. Visiting the iTest website on...
pixel watch prosser leak

Google Pixel Watch Allegedly Leaks with Circular Design, Rumored to Launch in October

Monday April 12, 2021 2:49 am PDT by
Renders of Google's first smartwatch, codenamed "Rohan," have been shared by Jon Prosser, showing that Google plans to adopt a circular design for its flagship wearable watch. Prosser shared the renders in an episode of his YouTube show "Front Page Tech," in which he claims they were made based on marketing material he had seen from a source within Google. The renders show that the Pixel...
AppleTV and HomePod Feature

Bloomberg: Apple Working on New Apple TV With Integrated HomePod Speaker and FaceTime Camera

Monday April 12, 2021 3:32 am PDT by
Apple is working on a combined Apple TV with HomePod speaker that has a camera for video calls through a connected television set, according to Bloomberg's Mark Gurman. From the report: The company is working on a product that would combine an Apple TV set-top box with a HomePod speaker and include a camera for video conferencing through a connected TV and other smart-home functions,...
nba tracking prompt orange

Two-Thirds of iPhone Users Expected to Block Ad Tracking

Friday April 9, 2021 7:19 am PDT by
As many as 68 percent of iPhone users are expected to deny advertisers permission to track them thanks to Apple's App Tracking Transparency feature, in what is beginning to look like a significant blow to the advertising industry (via AdWeek). With the launch of iOS 14.5, apps will have to receive explicit user permission before accessing an iPhone's advertising identifier or IDFA, which is...
fake airpods 3

Counterfeit 'AirPods 3' Hit the Market Prior to Official Announcement

Friday April 9, 2021 2:45 am PDT by
Apple is expected to launch the third iteration of AirPods in the third quarter of this year. Rumors and reports suggest the new AirPods will feature an updated design more in line with the AirPods Pro, but lacking in "Pro" features such as active noise cancellation. Despite AirPods 3 not yet being officially announced by Apple, counterfeit products of the unreleased earbuds have already hit ...
Top Stories 56 Feature

Top Stories: 'Find My' Expansion, iPhone 13 Pro Mockup, Largest-Ever iMac?

Saturday April 10, 2021 6:00 am PDT by
Apple's AirTags may still be nowhere to be seen nearly two years after signs of them were first discovered, but Apple this week launched its Find My network accessory program that will let third-party devices integrate with the Find My app on Apple's platforms to make it easy to keep track of your items. This week also saw fresh rumors about the upcoming "iPhone 13" and new iMacs, while...
ehric

iPhone 12 Mini Missing From Top 5 Best Selling Smartphone List of January 2021

Friday April 9, 2021 4:58 am PDT by
According to market data compiled by Counterpoint Research, Apple's smallest iPhone since the 2016 iPhone SE, the iPhone 12 mini, struggled to obtain a spot in the top five list of best-selling smartphones in January of this year. According to the market data, the iPhone 12 mini came in eighth place for the best-selling smartphone worldwide in the first month of the year. However, the iPhone ...
sonny 2021 ipad mini pro dummies

Leaked Dummy Units Show iPad Mini 6 With Thick Bezels and Home Button, New iPad Pro Models

Thursday April 8, 2021 2:11 am PDT by
Rumors suggest Apple will release refreshed versions of the iPad mini and iPad Pro models in the first half of this year, potentially as soon as this month, and a new leak today has provided us with a possible preview of what to expect in terms of the devices' overall design and camera prospects. Tech leaker and Apple blogger Sonny Dickson this morning shared images on Twitter showing dummy ...
Google maps feaure green

Google Maps App for iOS Finally Updated After Four Months

Monday April 12, 2021 10:03 am PDT by
Following the completed rollout of App Privacy labels for its App Store apps, Google today updated the Google Maps app for the first time in four months. Apple in December began requiring all new app submissions and app updates to include App Privacy labels, detailing the data that is collected by the app so consumers know what they're sharing. Google didn't begin implementing App Privacy ...
epic iap feature 3

Tim Cook Says App Store Would Become a 'Flea Market' if Third-Party Payment Systems Were Allowed

Monday April 12, 2021 9:41 am PDT by
In a recent interview with the Toronto Star, Apple CEO Tim Cook spoke about a wide variety of topics, ranging from App Tracking Transparency to Apple's ongoing legal battle over App Store policies with Fortnite creator Epic Games. Notably, Cook said that Epic Games' desire for Apple to let developers offer their own payment systems in apps "would make the App Store a flea market":At the...