Chosen Solution
Hi everyone I got this 2015 MacBook Pro retina 15 inches. It don’t enter in sleep mode when lid is closed, either with apple menu - -> sleep . it do absolutely nothing. I changed the ssd and put in a new one with a fresh Mojave install, so no software related, but if I run safe mode sleep mode works perfectly (even with a external display connected, so I exclude a gpu problem). Another problem with this Mac it that while using it randomly stuck on boot loading (yes, I have a normal application open and it go back to black screen with white apple and progress bar, nothing move more for hours). This also don’t happens in safe mode. I don’t have any idea of what is happening here Update (02/04/2020) OK. I replace hall sensor. Same issue! Any ideas? I noticed some artifacts when system is booting, the apple logo is flickering a bit. maybe we have a GPU fail? welcome back AMD … We are back in 2011 %#*@ UPDATE: As I said this morning I replaced the hall sensor, without any hope of success, only because I got a replacement and I wanted to try everything without giving up. After that, I have the same identical issue. I don’t perform PRAM or SMC reset (as I said, I don’t believe in this fix). I use the MacBook as normal, I forgot it with power on (of course I don’t have sleep mode) so the battery completely drain an the MacBook turn of itself. I plugged in the charger and let it charge for a couple of hours and when I power it on I see the black screen with “your computer shut down for a problem” and now everything works great, sleep mode is OK, closing the lid works and everything looks good. So, I have to believe that hall sensor could be the solution (but without the PRAM and SMC reset), or that is somehow related with battery? I will update the post if the problem reappears. Thanks Update (02/12/2020) Hi, Sleep problem goes away with new hall sensor, now I have random shutdown, plus always crash when I connect an HDMI monitor. I have different kernel panics panic(cpu 4 caller 0xffffff7f97040ad5): userspace watchdog timeout: no successful checkins from com.apple.WindowServer in 120 seconds service: com.apple.logd, total successful checkins since load (200 seconds ago): 21, last successful checkin: 0 seconds ago panic(cpu 0 caller 0xffffff7f8439c75a): “virtual bool AMD7000Controller::detectPowerDown(): GPU is not found. PCI config access fails!!! “@/BuildRoot/Library/Caches/com.apple.xbs/Sources/GPUDriversAMD/GPUDriversAMD-3.5.5/Common/IONDRV/ATI/IOFramebuffer/ATIFramebuffer/Abstraction/Sources/ATIController.cpp:3125 Sleep transition timed out after 180 seconds while entering darkwake on way to sleep. Suspected bundle: com.apple.iokit.IOGraphicsFamily. panic(cpu 4 caller 0xffffff7f83c40ad5): userspace watchdog timeout: no successful checkins from com.apple.WindowServer in 120 seconds
Let’s check the lid sensor to see if its working correctly: You’ll need a rare earth magnet and a steel paper clip (one that can be grasped by the magnet) and some masking or colored tape. Using the paper clip slide it along the face of the screen along the edge Left edge somewhere along it the paperclip should get snagged by the hidden magnet carefully food down the lid so you can transfer the location using a piece of tape to mark the upper case. Now with the system running slide the magnet along the face of the uppercase make sure the location you’ve marked is where the screen turns off, do make sure you check the whole edge as different models have the magnet at different places. I’m suspecting someone replaced the display and used the wrong version or they placed the magnet into the wrong location when they replaced the LCD panel alone. If the screen does not go into sleep mode at all that points to a bad Hall sensor which is located on the backside of the logic board as seen here