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 19 Mock WWDC25 Feature

iOS 19 Expected to Run on These iPhones

Monday March 31, 2025 5:28 pm PDT by
iOS 19 will not be available on the iPhone XR, iPhone XS, or the iPhone XS Max, according a private account on social media site X that has accurately provided information on device compatibility in the past. The iPhone XR, iPhone XS, and iPhone XS Max all have an A12 Bionic chip, so it looks like iOS 19 will discontinue support for that chip. All other iPhones that run iOS 18 are expected...
watchOS 11 Thumb 2 1

Apple Releases watchOS 11.4 With Sleep Alarm Update

Tuesday April 1, 2025 10:34 am PDT by
Apple today released watchOS 11.4, the fourth major update to the operating system that runs on the Apple Watch. watchOS 11.4 is compatible with the Apple Watch Series 6 and later, all Apple Watch Ultra models, and the Apple Watch SE 2. watchOS 11.4 can be downloaded on a connected iPhone by opening up the Apple Watch app and going to General > Software Update. To install the new software,...
AirPods Pro Firmware Feature

Apple Releases New Firmware for AirPods Pro 2 and AirPods 4

Monday March 31, 2025 11:27 am PDT by
Apple today released new firmware updates for all AirPods 4 and AirPods Pro 2 models. The new firmware is version 7E93, up from the 7B21 firmware that was installed on the AirPods Pro 2 and the 7B20 firmware available on the AirPods 4 and AirPods 4 with ANC. It is not immediately clear what new features or changes are included in the new firmware, but we'll update this article should we find ...
maxresdefault

Apple Releases iOS 18.4 With Priority Notifications, Ambient Music, New Emoji and More

Monday March 31, 2025 10:03 am PDT by
Apple today released iOS 18.4 and iPadOS 18.4, the fourth major updates to the iOS 18 and iPadOS 18 operating system updates that came out last year. iOS 18.4 and iPadOS 18.4 come two months after Apple released iOS 18.3 and iPadOS 18.3. Subscribe to the MacRumors YouTube channel for more videos. The new software can be downloaded on eligible iPhones and iPads over-the-air by going to...
iPhone 17 Pro 34ths Perspective

iPhone 17 Pro Launching Later This Year With These 10 New Features

Sunday March 23, 2025 10:00 am PDT by
While the iPhone 17 Pro and iPhone 17 Pro Max are not expected to launch until September, there are already plenty of rumors about the devices. Below, we recap key changes rumored for the iPhone 17 Pro models as of March 2025: Aluminum frame: iPhone 17 Pro models are rumored to have an aluminum frame, whereas the iPhone 15 Pro and iPhone 16 Pro models have a titanium frame, and the iPhone ...
Apple Card iPhone 16 Pro Feature

Visa and American Express Vying to Win Apple Card Deal in 'Fierce' Fight

Tuesday April 1, 2025 1:50 pm PDT by
Visa wants to pay Apple approximately $100 million to be the new payment network for the Apple Card, reports The Wall Street Journal. As of right now, the Apple Card is on the Mastercard payment network, but that is set to change because Apple is ending its partnership with Goldman Sachs. Both American Express and Visa are vying to replace Mastercard as Apple's card services provider, while...
iOS 18

Apple Seeds First Beta of iOS 18.5 to Developers

Wednesday April 2, 2025 10:11 am PDT by
Apple today seeded the first betas of upcoming iOS 18.5 and iPadOS 18.5 updates to developers for testing purposes, with the software coming just two days after Apple released iOS 18.4 and iPadOS 18.4. iOS 18.5 and iPadOS 18.5 can be downloaded from the Settings app on a compatible device by going to General > Software Update. We don't yet know what Apple is introducing in the iOS 18.5...

Top Rated Comments

MrX8503 Avatar
149 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
149 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
149 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
149 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
149 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
149 months ago
this doesn't help?

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