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

AirPods Pro 3 Mock Feature

AirPods Pro 3 Just Months Away – Here's What We Know

Friday April 18, 2025 5:16 am PDT by
Despite being more than two years old, Apple's AirPods Pro 2 still dominate the premium wireless‑earbud space, thanks to a potent mix of top‑tier audio, class‑leading noise cancellation, and Apple's habit of delivering major new features through software updates. With AirPods Pro 3 widely expected to arrive in 2025, prospective buyers now face a familiar dilemma: snap up the proven...
iphone 17 air dummy unbox therapy

iPhone 17 Air's Extreme Thinness Demoed in New Video

Tuesday April 22, 2025 10:22 am PDT by
Apple plans to release an all-new super thin iPhone this year, debuting it alongside the iPhone 17, iPhone 17 Pro, and iPhone 17 Pro Max. We've seen pictures of dummy models, cases, and renders with the design, but Lewis Hilsenteger of Unbox Therapy today showed off newer dummy models that give us a better idea of just how thin the "iPhone 17 Air" will be. The iPhone 17 Air is expected to be ...
iphone 17 dummies sonny dickson

iPhone 17 Air Almost as Thin as Its Buttons, New Images Show

Thursday April 24, 2025 2:14 am PDT by
If you missed the video showing dummy models of Apple's all-new super thin iPhone 17 Air that's expected later this year, Sonny Dickson this morning shared some further images of the device in close alignment with the other dummy models in the iPhone 17 lineup, indicating just how thin it is likely to be in comparison. The iPhone 17 Air is expected to be around 5.5mm thick – with a thicker ...
ipad air windows 11 arm

M2 iPad Air Runs Windows 11 ARM via Emulation, Thanks to EU Rules

Tuesday April 22, 2025 5:01 am PDT by
A developer has demonstrated Windows 11 ARM running on an M2 iPad Air using emulation, which has become much easier since the EU's Digital Markets Act (DMA) regulations came into effect. As spotted by Windows Latest, NTDev shared an instance of the emulation on social media and posted a video on YouTube (embedded below) demonstrating it in action. The achievement relies on new EU regulatory...
iphone 16 pro models 1

17 Reasons to Wait for the iPhone 17

Thursday April 17, 2025 4:12 am PDT 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 simultaneously, which is why we often get rumored features months ahead of launch. The iPhone 17 series is no different, and we already have a good idea of what to expect from Apple's 2025 smartphone lineup. If you skipped the iPhone...
iOS 18

iOS 18.5 Includes Only a Few Changes So Far

Monday April 21, 2025 11:00 am PDT by
Apple seeded the third beta of iOS 18.5 to developers today, and so far the software update includes only a few minor changes. The changes are in the Mail and Settings apps. In the Mail app, you can now easily turn off contact photos directly within the app, by tapping on the circle with three dots in the top-right corner. In the Settings app, AppleCare+ coverage information is more...
iPhone 17 Pro Blue Feature Tighter Crop

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

Wednesday April 23, 2025 8:31 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 April 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 ...

Top Rated Comments

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

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