Macbook Pro (Early 2009) hibernates when removed from wall power
After recently upgrading to Mountain Lion, I got the notification that my battery needed servicing. I went into the genius joint and they ran the usual suite of diagnostics. The battery apparently failed because it wasn't reaching a certain percentage of maximum. I expected as much since this was the original battery I had in the machine when I bought it.
So, $180 later, I have a new battery. Now, after disconnecting from wall power, my Mac hibernates, even if I am typing on the machine. I've paid two visits to the geniuses again. One reset the PRAM and the other reset the SMC. Both haven't yielded a solution. He said that since the diagnostics aren't showing the new battery to be faulty they cannot swap the battery. They suspect it's a software issue and want me to wipe the OS and reinstall from scratch. Yippee, welcome to Microsoft Windows.
I don't know the relevant system.log messages that might yield a solution. Here are the ones I can find quite easily:
Feb 24 15:54:44 poly kernel[0]: AirPort_Brcm43xx::powerChange: System Sleep Feb 24 15:54:44 poly kernel[0]: hibernate image path: /var/vm/sleepimage Feb 24 15:54:44 poly kernel[0]: sizeof(IOHibernateImageHeader) == 512 Feb 24 15:54:44 poly kernel[0]: kern_open_file_for_direct_io(0) took 27 ms Feb 24 15:54:44 poly kernel[0]: Opened file /var/vm/sleepimage, size 8589934592, partition base 0x0, maxio 400000 ssd 0 Feb 24 15:54:44 poly kernel[0]: hibernate image major 1, minor 0, blocksize 512, pollers 5 Feb 24 15:54:44 poly kernel[0]: hibernate_alloc_pages flags 00000000, gobbling 0 pages Feb 24 15:54:44 poly kernel[0]: hibernate_setup(0) took 0 ms Feb 24 15:54:44 poly.ftrdhcpuser.net WindowServer[75]: device_generate_lock_screen_screenshot: authw 0x7ff9a9e4f470(2000), shield 0x7ff9a9c6c1a0(2001) Feb 24 15:54:44 poly kernel[0]: 00000000 00000020 NVEthernet::setLinkStatus - not Active Feb 24 15:54:44 poly kernel[0]: en1: BSSID changed to 30:85:a9:68:be:b8 Feb 24 15:54:44 poly kernel[0]: wlEvent: en1 en1 Link DOWN virtIf = 0 Feb 24 15:54:44 poly kernel[0]: AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving). Feb 24 15:54:44 poly kernel[0]: en1::IO80211Interface::postMessage bssid changed Feb 24 15:55:06 poly kernel[0]: hibernate_page_list_setall start 0xffffff80d39d8000, 0xffffff80d3b6a000 Feb 24 15:55:06 poly kernel[0]: hibernate_page_list_setall time: 636 ms Feb 24 15:55:06 poly kernel[0]: pages 1168846, wire 189478, act 324327, inact 4, cleaned 1 spec 140, zf 13232, throt 0, could discard act 161361 inact 176135 purgeable 2560 spec 301581 cleaned 27 Feb 24 15:55:06 poly kernel[0]: hibernate_page_list_setall found pageCount 527182 Feb 24 15:55:06 poly kernel[0]: IOHibernatePollerOpen, ml_get_interrupts_enabled 0 Feb 24 15:55:06 poly kernel[0]: IOHibernatePollerOpen(0) Feb 24 15:55:06 poly kernel[0]: encryptStart 13450 Feb 24 15:55:06 poly kernel[0]: writing 524967 pages Feb 24 15:55:06 poly kernel[0]: encryptEnd 9254200 Feb 24 15:55:06 poly kernel[0]: image1Size 0x123e8c00, encryptStart1 0x13450, End1 0x9254200 Feb 24 15:55:06 poly kernel[0]: encryptStart 123e8c00 Feb 24 15:55:06 poly kernel[0]: encryptEnd 3cb5c200 Feb 24 15:55:06 poly kernel[0]: PMStats: Hibernate write took 18690 ms Feb 24 15:55:06 poly kernel[0]: all time: 18690 ms, comp bytes: 2150555648 time: 2719 ms 754 Mb/s, crypt bytes: 865813424 time: 5027 ms 164 Mb/s, Feb 24 15:55:06 poly kernel[0]: image 1018544640, uncompressed 2150555648 (525038), compressed 1009261424 (46%), sum1 ff48cf37, sum2 36bf0916 Feb 24 15:55:06 poly kernel[0]: wired_pages_encrypted 87521, wired_pages_clear 99813, dirty_pages_encrypted 337704 Feb 24 15:55:06 poly kernel[0]: hibernate_write_image done(0) Feb 24 15:55:06 poly kernel[0]: sleep Feb 24 15:55:06 poly.local configd[18]: setting hostname to "poly.local" Feb 24 15:55:06 poly.local configd[18]: network changed: v4(en1-:192.168.1.7) DNS- Proxy- SMB Feb 24 16:02:11 poly.local WindowServer[75]: handle_will_sleep_auth_and_shield_windows: no action for lock state 1 Feb 24 16:02:11 poly kernel[0]: Wake reason: OHC1 Feb 24 16:02:11 poly kernel[0]: AirPort_Brcm43xx::powerChange: System Wake - Full Wake/ Dark Wake / Maintenance wake Feb 24 16:02:11 poly kernel[0]: Previous Sleep Cause: 5 Feb 24 16:02:11 poly kernel[0]: The USB device Apple Internal Keyboard / Trackpad (Port 6 of Hub at 0x4000000) may have caused a wake by issuing a remote wakeup (2) Feb 24 16:02:11 poly kernel[0]: en1: 802.11d country code set to 'X0'. Feb 24 16:02:11 poly kernel[0]: en1: Supported channels 1 2 3 4 5 6 7 8 9 10 11 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140 149 153 157 161 165 Feb 24 16:02:11 poly kernel[0]: HID tickle 82 ms Feb 24 16:02:12 poly kernel[0]: 00000000 00000020 NVEthernet::setLinkStatus - not Active Feb 24 16:02:13 poly kernel[0]: en1: 802.11d country code set to 'US'. Feb 24 16:02:13 poly kernel[0]: en1: Supported channels 1 2 3 4 5 6 7 8 9 10 11 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140 149 153 157 161 165 Feb 24 16:02:13 poly kernel[0]: MacAuthEvent en1 Auth result for: 00:23:6c:be:79:5f MAC AUTH succeeded Feb 24 16:02:13 poly kernel[0]: wlEvent: en1 en1 Link UP virtIf = 0 Feb 24 16:02:13 poly kernel[0]: AirPort: Link Up on en1 Feb 24 16:02:13 poly kernel[0]: en1: BSSID changed to 00:23:6c:be:79:5f Feb 24 16:02:13 poly kernel[0]: en1::IO80211Interface::postMessage bssid changed Feb 24 16:02:13 poly kernel[0]: AirPort: RSN handshake complete on en1 Feb 24 16:02:13 poly.local configd[18]: network changed: v4(en1+:192.168.1.7) DNS+ Proxy+ SMB Feb 24 16:02:13 poly.local UserEventAgent[11]: Captive: en1: Not probing 'taffy' (protected network) Feb 24 16:02:13 poly.local configd[18]: network changed: v4(en1!:192.168.1.7) DNS Proxy SMB Feb 24 16:02:13 poly kernel[0]: en1: BSSID changed to 00:23:6c:be:79:5f
If anyone has any suggestions that don't involve wiping my hard drive so I can fix this, I'd buy you a beer.
MacBook Pro, OS X Mountain Lion (10.8.2)