Skip to main content
Help

Moderation

Keyboard Shortcuts

Anyone with over 20 reputation can flag problematic comments and posts.

ACCEPT AS SOLUTION

Post: Answer to "How do I diagnose a narcoleptic Mac?"
Last Vote:

Hide details

Question

How do I diagnose a narcoleptic Mac?

My workhorse machine is a 2.5 GHz A1260 with 6GB RAM and an SSD swapped in for the optical drive. I love it, scratches and dings and all. I've lost track of how many times I've disassembled it, and it's missing a few screws.

For the last six months or so, the sturdy machine has had intermittent narcolepsy: it goes to sleep on its own, with no provocation, whether plugged into AC power or not. The behaviour started with a dying battery, but I'm running on a brand-new one now.

I haven't cared about the issue so much up to now— it only happened once a day or so, and the computer's brief naps gave me a good excuse to go stretch. But today, it's gone to sleep three times thus far and shut off with no warning twice. It's been plugged into an 85W AC adapter the whole time.

This issue may be similar to Random MacBook Pro shut down, but we never saw a resolution on that.

Symptoms

  • Goes to sleep randomly a couple times a day, with ever-increasing frequency
  • Loses power, even while plugged into AC with new battery

Attempted solutions

  • Tried at least three batteries, including new battery
  • Used multiple 85W power adapters
  • Reproduced issue at multiple locations, so it's not the mains power.
  • Removed ambient light sensor.
  • Installed known-good ambient light sensor.
  • Removed sleep sensor.

Update

When it shut off on me today, it was plugged into power (glowing amber) and my battery was at about 80%. Started it back up, ran for about 5 minutes, then shut off again. Since then, it's been working fine. The computer hadn't been running much yet and wasn't warm, so it's not a heat issue.

Update 2

Today, it started shutting off within 2 minutes of boot. I'm typing this on another machine. Taking it apart now; I'll start swapping components.

Update 3

It's not the ambient light sensor or the sleep sensor (tested known-good parts on both). I swapped in a new upper case an hour ago, and it hasn't shut off since. I'm crossing my fingers, but not overly-optimistic yet.

Final Update

Some things just can't be fixed! I hate to say it, but I was forced to give up on this machine and upgrade. We parted out the old machine, so it didn't end up in the dump, but I never did figure out what the problem was.

Sometimes, with the tremendous technical complexity of these machines, you have to put the problem down to something at the board-level. I'm pretty confident replacing the main board would have fixed it (I tried everything else that made sense), but at that point I was better off recycling the machine and upgrading. Thanks for all the help with the issue!


Answer

Try relpacing the ambient light sensor. Apple Part # 922-8353 for the left.

http://www.ifixit.com/MacBook-Parts/MacB...

Here's how to do it: MacBook Pro 15" Core 2 Duo Models A1226 and A1260 Left Ambient Light Sensor Replacement

This sounds similar to the "Narcoleptic Aluminum PowerBook Syndrome". Symptoms include the PowerBook suddenly entering sleep mode, no matter what the battery level is or if it is plugged in. One cause is the ambient light sensing, and associated instruction set coding, with possible keyboard backlight and sleep light issues accompanying the so-called "narcolepsy". Another cause is the trackpad heat sensor monitoring the trackpad; system logs report "Power Management received emergency overtemp signal. Going to sleep." To correct this, service groups will often replace the motherboard or power converter, but the actual fix (depending on the model) for the first cause is to replace or remove the left or right ambient light sensors; and for the second cause, disconnect, remove, or replace the heat sensor, or the entire top case which holds the trackpad heat sensor. Alternatively, there are reports which detail success in removing certain sensor kernel extensions or rebuilding the kernel using the Darwin Open Source project after commenting out the relevant sleepSystem() call; though permanent solution of the sleep issue in this manner is little documented.