To those wondering why the MacBook would have a sensor for this, it’s likely there to support Desk View[0]. It shows the items on your desk in a geometrically correct, top-down view. Knowing the angle of the display is very helpful when applying keystone correction.
Simpler than that I think - when do you turn off the screen or sleep? Because it isn't fully closed, but you want to be able to 'privacy-duck' the screen a bit before that, and having a sensor rather than just a fixed angle switch makes it software defined and something they can update.
If you approach something metalic to the top of the base in the left side of most macbooks you can feel where the magnet is. They either have both systems or maybe they switched this recently.
Presence of a magnet doesn't imply presence of a reed switch - are you sure that's not just to give it some resistance to opening for example? Or angle sensing could be implemented with a magnet and Hall effect sensor.
More likely a hall effect sensor, which is solid state and a lot smaller. And yes, older MacBooks had something like that, as evidenced by the fact you could put them to sleep by holding a magnet in the right place (just to the left of the trackpad IIRC in the models I'm familiar with)
Nice one ! Curious since I know almost nothing about HW - do magnets screw with computer HW otherwise ? I would guess no since we don't use HDD anymore but not sure.
As far as I know, even HDDs were pretty resilient to magnets when in their enclosures. I once took a large magnet meant for holding together concrete forms, one strong enough that it stuck to a ferrous surface it could probably support my weight, and stuck it to a hard drive for a full year to see if it'd break. The drive, as well as all of the data on it, were fine.
When I ran a MacBook Pro in closed clamshell mode and put another laptop on top of it, it went to sleep. Must be a weight sensor in there as well. (/s)
It's one sensor in both cases, and in the latter case you can do so much more: change the thresholds in an update, detect when the lid is in the process of closing, apply hysteresis (on a simple switch, there's an angle where vibration could cause it to bounce between reading open and closed, but with an angle sensor you can use different thresholds for detecting and open and closing state change).
But most of all...you don't have to commit to a behavior early in the design process by molding the switch in exactly the right spot. If the threshold you initially pick isn't perfect, it's much easier to change a line of code than the tooling at the manufacturing plant.
Why use two sensors when one will do? If you already have an angle sensor, it makes sense to get rid of the reed switch and reduce your production costs.
Apple has a history of adding sensors, security chips, etc. a few revisions before the feature they support launches. It’s a really good idea because it helps them sort out the supply chain, reliability, drivers, etc. without any customer impact. It decouples the risks of the hardware project from the risks of the software project.
If things go particularly well you get to launch the feature on multiple hardware revisions at once because the first deployment of the component worked great, which is a neat trick.
Yeah, my iPhone 11 Pro came with the ultra-wideband chip in late 2019, and before the AirTags were released in early 2021, I believe the only thing it was used was for ordering AirDrop targets by proximity. It was clearly intended for the AirTags from the beginning, but it took about 1.5 years before it actually mattered.
At Apple Stores, laptops screens have to be opened exactly at 76 degrees. I wonder if they use this sensor and specific software for adjustment (I'm not implying this is the only reason it's there)
It seems like it would be much quicker and easier to just have a piece of plastic or something cut at a 76 degree angle that they can place on the laptop and fold the screen up to.
Could be that the demo OS reports some metric on how often the laptops are set to 76deg and how often customers move it. Probably a whole ton of usages of the sensor and if it's price comparable to the old close sensor they used to use it would be easy to justify.
I've heard employees use the measurements app in their iPhones sometimes to adjust in the mornings, but having a sensor in the laptop lid seems like a much easier way to do it and you don't need to carry anything with you.
It would not, since you don't want to carry a piece of plastic all day long to set the angle correctly. Most people just use their phones to check the angle though.
I'm assuming so. Apparently it's an angle that "invites" people to use the computers, but I don't think there's anything specific about 76 degrees that makes it better than, say, 73 or 82. As long as you can see the content from an average height, it should work. Most likely they just settle on that angle because it looked good to the store team that was staging the first store, measured it, turned out to be 76 and kept it the same across stores since then for consistency.
I believe the rumor is that 76 degrees is slightly uncomfortable enough to look at that it makes you want to adjust the screen, which in turn makes you more likely to try the device.
Yep this seems like it makes a lot of sense— and adding on, picking a measurement means that all of them can be the same (consistency, as you said)- having variation in the same row would look bad from a distance
Shows you how good they are at planning and decomposing features into well scoped hardware and software features which can ship earlier, provide some value, while enabling richer future features. You have to respect them for this because this is how they have always operated.
This is trivially broken by people who affix some type of cover over the camera. I do this on the off chance some errant application thinks it deserves to take pictures of my environment.
I'm typing on a 2024 Macbook Pro. Is that sufficiently new? I don't see how it would work, practically. The only camera is the user-facing one. If the screen were tilted down toward the desk, I'd have to kneel down to see it.
The Mac camera light is wired inline. If the camera is on, so is the light. Since we're not seeing the camera light flashing on periodically, this isn't how it's being done.
The Macbook tally light isn‘t necessarily wired to the camera. It very well could be independently software controlled. At least it was not too long ago. IIRC there was an article about this, posted here on HN.
Macs used to have (still have?) a feature where you could declare it as lost/stolen and remotely take a photo with the camera. I believe the light didn‘t glow for that.
But is there actually an API for that? Last I checked the big providers Video Intelligence APIs even distinguishing cats and dogs was still unreliable.
Unless I am missing something massive, BirdNET[0] is for identifying birds by sound, not by images.
Merlin[1] (also from Cornell Lab of Ornithology), on the other hand, has both image and sound ID. I haven't used either, so I cannot compare the quality of results from Merlin vs. BirdNET for sound ID, but afaik only Merlin has image ID.
The Mac camera light is wired inline so as to make this impossible. The only way for the camera to be on and the light not is if the light itself is broken.
0: https://support.apple.com/en-us/121541