by gnicholas · 6y ago · 0 comments
Of course, MBAs have no moving parts, and there were no rattles when I shook the machine and listened. Apple also could not figure it out. After replacing several parts, they eventually replaced the unit with a newer model (it was 2014 at the time).
Soon after getting my new MBA up and running, it experienced the exact same glitch. I knew it had to be something environmental, since the odds would be astronomical that they would have replaced my unit with one that had the same rare glitch. But I was traveling, which eliminated anything relating to my house, neighborhood, power lines, etc.
Then I looked at my wrist, on which I wore a Seiko Kinetic watch. It was triggering the magnetic lid-closure detector, which is on the sides of the base of the MBA. When I picked up my computer with my left hand (I'm right-handed, so this was less common), it would trip the sensor.
Interestingly, there is a very easy fix for this (and similar issues, mentioned in other comments in this thread), which is to only sleep the machine if both left AND right sensors are triggered. If it seems like the left side of the lid is closed and the right side is not closed, probably it's a false positive!
During troubleshooting we clarified that the computer was not shutting down; the login window appeared immediately if she pressed the power button gently instead of holding it down. She also allowed that the unexpected sleep was not only at login, but could happen any time if she got past the login window. And she could work around the problem by using a USB keyboard.
The culprit was a magnetic bracelet that she wore only occasionally. First thing in the morning she would try to log in to the laptop, without the USB keyboard, and her wrist got close enough to trigger the sleep-when-lid-closed setting. I heard the bracelet jangle on the phone, and guessed correctly that it might be a magnet.
This was my second encounter with this problem. The first time was when a laptop on my workbench died unexpectedly during troubleshooting and would not start up. It was stacked on top of another of the same model, and the lid of the laptop underneath was triggering sleep-on-closed-lid setting of the laptop on top.
Fast forward to a few weeks ago. I diagnosed a similar problem in 5 seconds while walking through the office. Laptop sleep was being triggered by an employee's new Apple watch.
It might take hours or days to figure out a problem the first time you encounter it. The second time is a memory test. The third time you look like a genius.