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

REC ASA CODE2016 20160601 205816 2745

Elon Musk Reportedly Demanded to Become Apple CEO as Part of Potential Tesla Acquisition [Update: Musk Denies]

Friday July 30, 2021 9:04 am PDT by
Tesla CEO Elon Musk reportedly once demanded that he be made Apple CEO in a brief discussion of a potential acquisition with Apple's current CEO, Tim Cook. The claim comes in a new book titled "Power Play: Tesla, Elon Musk and the Bet of the Century," as reviewed by The Los Angeles Times. According to the book, during a 2016 phone call between Musk and Cook that touched on the possibility of ...
General Apps Messages

Android iMessage Competitor Puts Pressure on Apple

Friday July 30, 2021 3:15 am PDT by
Google and the three major U.S. carriers, including Verizon, AT&T, and T-Mobile, will all support a new communications protocol on Android smartphones starting in 2022, a move that puts pressure on Apple to adopt a new cross-platform messaging standard and may present a challenge to iMessage. Verizon recently announced that it is planning to adopt Messages by Google as its default messaging...
a15 chip

iPhone 13 and Redesigned MacBook Pro Chip Production Hit With Gas Contamination

Friday July 30, 2021 5:44 am PDT by
The most important TSMC factory that manufactures Apple's chips destined for next-generation iPhone and Mac models has been hit by a gas contamination, according to Nikkei Asia. The factory, known as "Fab 18," is TSMC's most advanced chipmaking facility. TSMC is Apple's sole chip supplier, making all of the processors used in every Apple device with a custom silicon chip. Industry...
Apple watch series 5 new case material made of titanium 091019

Titanium Apple Watch Series 6 Models Currently Widely Unavailable

Sunday August 1, 2021 6:21 am PDT by
Models of the Apple Watch Series 6 with titanium cases part of the "Apple Watch Edition" collection is currently widely unavailable for pick-up in several of Apple's retail stores in the United States and is unavailable entirely for delivery in major markets. Noted by Bloomberg's Mark Gurman in the latest edition of his "Power On" newsletter, titanium models of the Apple Watch Series 6,...
iPhone 13 Always On Feature

iPhone 13 to Bring Over a Major Feature From the Apple Watch

Wednesday July 28, 2021 2:21 am PDT by
Apple's upcoming iPhone 13 lineup will feature an always-on display akin to the Apple Watch Series 5 and Series 6, according to recent reports. In his weekly Power On newsletter, Bloomberg journalist Mark Gurman, who often reveals accurate insights into Apple's plans, said that the iPhone 13 may feature an Apple Watch-inspired always-on mode. The Apple Watch Series 5 and Apple Watch...
apple rtp land

Apple Preparing to Occupy 200,000 Square Feet of Temporary Space Ahead of New $1 Billion North Carolina Campus

Thursday July 29, 2021 9:14 am PDT by
Back in April, Apple announced a $430 billion investment over the next five years to create more than 20,000 new jobs as the company continues to expand. One significant piece of that plan is a new engineering and research center in North Carolina where Apple will be investing over $1 billion and hiring at least 3,000 employees. Assemblage of seven properties in Research Triangle Park owned by ...
telegram

Bumper Telegram Update Enables Video Calls With Up to 1,000 Viewers

Saturday July 31, 2021 12:13 am PDT by
Telegram Messenger has received a major update to its video capabilities, including support for video calls with up to 1,000 viewers. Group video calls in Telegram allow up to 30 users to stream video from both their camera and their screen, and now a maximum of 1,000 people can tune into the broadcast. Telegram says it intends to continue increasing this limit "until all humans on Earth...
app store blue banner

Elon Musk: Apple's App Store Fees Are a 'De Facto Global Tax on the Internet'

Friday July 30, 2021 10:04 am PDT by
Tesla CEO Elon Musk took to Twitter today to criticize Apple's App Store fees in a tweet that sides with Epic in the ongoing Epic v. Apple dispute. "Epic is right," wrote Musk, before going on to call Apple's App Store fees a "de facto global tax on the Internet." Musk earlier this week made veiled comments about App Store fees, but today's statement is a much more direct criticism....
FaceID iMac REREREREMIX

Top Stories: Face ID on Future Macs, Elon Musk Criticizes Apple, and More

Saturday July 31, 2021 6:00 am PDT by
This week saw an interesting range of Apple news and rumors, including a blockbuster earnings report, rumors about next year's "iPhone 14" and Face ID coming to Macs, and more. Subscribe to the MacRumors YouTube channel for more videos. Other popular topics included Apple's crackdown on leaks, changes in the latest round of betas for iOS 15, iPadOS 15, and macOS Monterey, and several stories...
duracell battery bitter coating

Apple Says Don't Buy AirTag Replacement Batteries With Bitter Coating

Wednesday July 28, 2021 11:08 am PDT by
Since AirTags were just released earlier this year and are expected to have a year-long battery life, it may be some time yet before AirTag users need a replacement battery, but when the time comes for a refresh, Apple is warning customers not to buy batteries with a bitter coating. AirTags use coin-shaped CR2032 batteries, which happen to be a size that's easy to swallow. Some battery...