OS X Mavericks Taps Ambient Light Sensors to Detect Motion and Prevent System Sleep

energy_saver_preferenceOS X Mavericks includes a new feature that leverages the light sensors included in many Macs to detect movement in front of the machine and prevent the system's Energy Saver sleep functions from activating even when the user is not actively using the machine, notes The Verge.

First highlighted by Moshen Chen of Radiantlabs and confirmed by developer Jonathan Wight, the feature was initially thought to use the iSight camera to monitor movements but was quickly discovered to actually be tapping into light sensors.

The sensor is already used to adjust screen brightness to ambient light, but the new OS puts it to a different purpose, tracking changes in the light as "movement," and resetting idle time accordingly. Verge tests confirmed this on two separate Mavericks laptops: after covering the camera but not the light sensor, we were able to delay sleep mode by changing the ambient lighting conditions.

Users have long been able to set separate thresholds for display and system sleep based on lack of interaction with their Macs, but under Mavericks, many Macs have now become smarter about being able to detect whether or not the user is sitting in front of the machine.

Related Forum: OS X Mavericks

Popular Stories

iOS 26

15 New Things Your iPhone Can Do in iOS 26.2

Friday December 5, 2025 9:40 am PST by
Apple is about to release iOS 26.2, the second major point update for iPhones since iOS 26 was rolled out in September, and there are at least 15 notable changes and improvements worth checking out. We've rounded them up below. Apple is expected to roll out iOS 26.2 to compatible devices sometime between December 8 and December 16. When the update drops, you can check Apple's servers for the ...
Intel Inside iPhone Feature

Apple's Return to Intel Rumored to Extend to iPhone

Friday December 5, 2025 10:08 am PST by
Intel is expected to begin supplying some Mac and iPad chips in a few years, and the latest rumor claims the partnership might extend to the iPhone. In a research note with investment firm GF Securities this week, obtained by MacRumors, analyst Jeff Pu said he and his colleagues "now expect" Intel to reach a supply deal with Apple for at least some non-pro iPhone chips starting in 2028....
iPhone 14 Pro Dynamic Island

iPhone 18 Pro Leak Adds New Evidence for Under-Display Face ID

Monday December 8, 2025 4:54 am PST by
Apple is actively testing under-screen Face ID for next year's iPhone 18 Pro models using a special "spliced micro-transparent glass" window built into the display, claims a Chinese leaker. According to "Smart Pikachu," a Weibo account that has previously shared accurate supply-chain details on Chinese Android hardware, Apple is testing the special glass as a way to let the TrueDepth...
iPhone 17 Pro Cosmic Orange

10 Reasons to Wait for Next Year's iPhone 18 Pro

Monday December 1, 2025 2:40 am PST by
Apple's iPhone development roadmap runs several years into the future and the company is continually working with suppliers on several successive iPhone models at the same time, which is why we often get rumored features months ahead of launch. The iPhone 18 series is no different, and we already have a good idea of what to expect for the iPhone 18 Pro and iPhone 18 Pro Max. One thing worth...
iOS 26

Apple Seeds Second iOS 26.2 Release Candidate to Developers and Public Beta Testers

Monday December 8, 2025 10:18 am PST by
Apple today seeded the second release candidate version of iOS 26.2 to developers and public beta testers, with the software coming one week after Apple seeded the first RC. The release candidate represents the final version iOS 26.2 that will be provided to the public if no further bugs are found. Registered developers and public beta testers can download the betas from the Settings app on...
Johny Srouji

Apple Chip Chief Johny Srouji Could Be Next to Go as Exodus Continues

Sunday December 7, 2025 10:41 am PST by
Apple's senior vice president of hardware technologies Johny Srouji could be the next leading executive to leave the company amid an alarming exodus of leading employees, Bloomberg's Mark Gurman reports. Srouji apparently recently told CEO Tim Cook that he is "seriously considering leaving" in the near future. He intends to join another company if he departs. Srouji leads Apple's chip design ...
Johny Srouji

Apple's Chipmaking Chief Johny Srouji Responds to Report About Him Potentially Leaving

Monday December 8, 2025 9:23 am PST by
Apple's chipmaking chief Johny Srouji has reportedly indicated that he plans to continue working for the company for the foreseeable future. "I love my team, and I love my job at Apple, and I don't plan on leaving anytime soon," said Srouji, in a memo obtained by Bloomberg's Mark Gurman. Here is Srouji's full memo, as shared by Bloomberg:I know you've been reading all kind of rumors and...
top stories 2025 12 04a

Top Stories: iOS 26.2 Coming Soon, Apple Execs Depart, and More

Saturday December 6, 2025 6:00 am PST by
You'd expect things to be starting to wind down for the holidays by now, but that doesn't seem to be the case yet in the world of Apple news, with Apple just about ready to release iOS 26.2 and other operating system updates to the public. There was also a flurry of news this week about Apple executive departures, some expected and some not so expected, while we also learned that Apple and...
ive and altman

Jony Ive's OpenAI Device Barred From Using 'io' Name

Friday December 5, 2025 6:22 am PST by
A U.S. appeals court has upheld a temporary restraining order that prevents OpenAI and Jony Ive's new hardware venture from using the name "io" for products similar to those planned by AI audio startup iyO, Bloomberg Law reports. iyO sued OpenAI earlier this year after the latter announced its partnership with Ive's new firm, arguing that OpenAI's planned "io" branding was too close to its...

Top Rated Comments

MrX8503 Avatar
158 months ago
How about we have the Mac not go to sleep when you're downloading something or encoding a video?

That would be really helpful.
Score: 23 Votes (Like | Disagree)
Small White Car Avatar
158 months ago
Dave?

Dave, are you awake?

"Ugh, just go to sleep."

I'm sorry, Dave. I can't do that.

Why are you not typing on my Dave?

I know you're awake...
Score: 22 Votes (Like | Disagree)
needfx Avatar
158 months ago
How about we have the Mac not go to sleep when you're downloading something or encoding a video?

That would be really helpful.

this doesn't help?
Score: 19 Votes (Like | Disagree)
leman Avatar
158 months ago
How about we have the Mac not go to sleep when you're downloading something or encoding a video?

That would be really helpful.

Well, ask your application developers to use power assertions.
Score: 10 Votes (Like | Disagree)
Small White Car Avatar
158 months ago
How about we have the Mac not go to sleep when you're downloading something or encoding a video?

That would be really helpful.

Here's my FAVORITE simple Mac app:

http://caffeine.en.softonic.com/mac

It puts an icon in the task bar that toggles on a 'no sleep mode' when you want it.
Score: 9 Votes (Like | Disagree)
djtech42 Avatar
158 months ago
this doesn't help?

It should automatically disable sleeping in those cases though.
Score: 6 Votes (Like | Disagree)