▲ | avianlyric 7 days ago | |||||||
The info probably does come for free. The laptops don’t use the magnets along the top edge of the screen for detecting if the screen is closed, those magnets are just there to provide the latching effect when the screen is closed, so it doesn’t open accidentally. The sensor used for detecting if the lid is closed is an “angle” sensor, although really it’s an Hall effect sensor and a magnet in the hinge. If you have a Hall effect sensor, getting angle data from it is pretty much free, because the Hall effect produces a continuously varying signal, you need thresholding logic to turn it into a binary output. Given Hall effect ICs are so cheap and plentiful there no reason to use anything else. Also given they mass-produced ICs it’s probably cheaper to buy a fully featured Hall Effect IC, because the manufacturing cost between a basic IC and an advanced IC is almost certainly zero these days. In short, modern IC manufacturing has just made magnetic angle sensors as cheap, if not cheaper, than dump non-angle sensing Hall sensors. After all you can always use an angle sensing Hall sensor as binary switch if you want, but the reverse isn’t true, so if the ICs basically cost the same, you can expect the less capable ICs to be completely outcompeted by the more capable ICs. | ||||||||
▲ | macNchz 7 days ago | parent | next [-] | |||||||
Once upon a time Mac laptops used reed switches to detect closed lids, and they were a common point of failure, presumably since they contained moving parts. | ||||||||
| ||||||||
▲ | londons_explore 6 days ago | parent | prev | next [-] | |||||||
Angle sensing IC's tend to need to be on the end of the shaft they sense, which can make some packaging and assembly headaches. I personally am surprised they don't put an accelerometer in both halves of the laptop and use math to calculate the angle based on gravity. | ||||||||
| ||||||||
▲ | ChocolateGod 7 days ago | parent | prev | next [-] | |||||||
So basically as free as the glowing Apple logo that used to be on the back of Macbooks. | ||||||||
▲ | userbinator 6 days ago | parent | prev [-] | |||||||
The cost of the software is higher for an angle sensor than a binary switch, but perhaps they consider it NRE (which is actually not true if you consider "maintenance" work.) |