Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mid-2013 Macbook Air drains battery at hibernate

I recently got a new Macbook Air:


MBA 13-inch, Mid 2013

Processor 1.7 GHz Intel Core i7

Memory 8 GB 1600 MHz DDR3

Graphics Intel HD Graphics 5000 1024 MB

Software OS X 10.8.4 (12E3067)


The issue I'm running into is essentially that I close the lid (unplugged from power and anything else) and overnight the entire battery drains. When looking into the system log, I noticed that the sleep seems to run OK but it's when it tries to hibernate that the issue comes up. It looks to me like it tries to hibernate and runs into an error, tries again, run into an erro, tries again, etc.


Sep 18 17:37:42 LMC-034538 kernel[0]: 4976.801546: AirPort_Brcm43xx::powerChange: System Sleep

Sep 18 17:37:42 LMC-034538 kernel[0]: AppleCamIn::powerStateWillChangeTo - root-domain power state = 0x00000002 (flags=0x00000004)

Sep 18 17:37:43 LMC-034538 kernel[0]: AppleCamIn::handleWakeEvent_gated

Sep 18 17:37:43 LMC-034538 kernel[0]: AppleCamIn::acpiControlS2ChipPower - powerState=0, status = 0x0, result_value = 0x0

Sep 18 17:37:43 LMC-034538 kernel[0]: AppleThunderboltNHIType2::waitForOk2Go2Sx - retries = 3

Sep 18 20:37:39 LMC-034538 hidd[79]: MultitouchHID: device bootloaded

Sep 18 20:37:39 LMC-034538 kernel[0]: Wake reason: EC.SleepTimer (SleepTimer)

Sep 18 20:37:39 LMC-034538 kernel[0]: 4978.519425: AirPort_Brcm43xx::powerChange: System Wake - Full Wake/ Dark Wake / Maintenance wake

Sep 18 20:37:39 LMC-034538 kernel[0]: AppleCamIn::powerStateWillChangeTo - root-domain power state = 0x00000003 (flags=0x00000002)

Sep 18 20:37:39 LMC-034538 kernel[0]: AppleCamIn::wakeEventHandlerThread

Sep 18 20:37:39 LMC-034538 kernel[0]: Previous Sleep Cause: 5

Sep 18 20:37:39 LMC-034538 kernel[0]: AppleHSSPIController::HandleMessage Device Wake by Host

Sep 18 20:37:39 LMC-034538 kernel[0]: IOThunderboltSwitch<0xffffff80260c3000>(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 11 unplug = 0

Sep 18 20:37:39 LMC-034538 kernel[0]: IOThunderboltSwitch<0xffffff80260c3000>(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 12 unplug = 0

Sep 18 20:37:39 LMC-034538 kernel[0]: TBT W (2): 0x0100 [x]

Sep 18 20:37:39 LMC-034538 kernel[0]: Graphics suppressed 577 ms

Sep 18 20:37:40 LMC-034538 kernel[0]: hibernate image path: /var/vm/sleepimage

Sep 18 20:37:40 LMC-034538 kernel[0]: 4979.587912: AirPort_Brcm43xx::powerChange: System Sleep

Sep 18 20:37:41 LMC-034538 digest-service[1563]: label: default

Sep 18 20:37:41 LMC-034538 digest-service[1563]: dbname: od:/Local/Default

Sep 18 20:37:41 LMC-034538 digest-service[1563]: mkey_file: /var/db/krb5kdc/m-key

Sep 18 20:37:41 LMC-034538 digest-service[1563]: acl_file: /var/db/krb5kdc/kadmind.acl

Sep 18 20:37:41 LMC-034538 kernel[0]: AppleCamIn::handleWakeEvent_gated

Sep 18 20:37:41 LMC-034538 kernel[0]: AppleCamIn::acpiControlS2ChipPower - powerState=0, status = 0x0, result_value = 0x0

Sep 18 20:37:41 LMC-034538 digest-service[1563]: digest-request: uid=0

Sep 18 20:37:41 LMC-034538 rpcsvchost[1564]: sandbox_init: com.apple.msrpc.netlogon.sb succeeded

Sep 18 20:37:41 LMC-034538 digest-service[1563]: digest-request: init request

Sep 18 20:37:41 LMC-034538 digest-service[1563]: digest-request: init return domain: BUILTIN server: LMC-034538

Sep 18 20:37:42 LMC-034538 kernel[0]: (default pager): [KERNEL]: ps_allocate_cluster - send HI_WAT_ALERT

Sep 18 20:37:42 LMC-034538 kernel[0]: macx_swapon SUCCESS

Sep 18 20:37:42 LMC-034538 kernel[0]: 4982.339010: MacAuthEvent en0 Auth result for: 74:31:70:6d:14:2b MAC AUTH succeeded

Sep 18 20:37:42 LMC-034538 kernel[0]: wlEvent: en0 en0 Link UP virtIf = 0

Sep 18 20:37:42 LMC-034538 kernel[0]: AirPort: Link Up on en0

Sep 18 20:37:42 LMC-034538 kernel[0]: en0: BSSID changed to 74:31:70:6d:14:2b

Sep 18 20:37:42 LMC-034538 kernel[0]: en0::IO80211Interface::postMessage bssid changed

Sep 18 20:37:42 LMC-034538 kernel[0]: AirPort: RSN handshake complete on en0

Sep 18 20:37:43 LMC-034538 airportd[1555]: _doAutoJoin: Already associated to “Gumdrop-Motorola”. Bailing on auto-join.

Sep 18 20:37:43 LMC-034538 kernel[0]: (default pager): [KERNEL]: ps_select_segment - send HI_WAT_ALERT

Sep 18 20:37:43 LMC-034538 kernel[0]: macx_swapon SUCCESS

Sep 18 20:37:43 LMC-034538 netbiosd[71]: name servers down?

Sep 18 20:37:44 LMC-034538 kernel[0]: (default pager): [KERNEL]: ps_select_segment - send HI_WAT_ALERT

Sep 18 20:37:44 LMC-034538 kernel[0]: macx_swapon SUCCESS

Sep 18 20:37:47 LMC-034538 kernel[0]: (default pager): [KERNEL]: ps_select_segment - send HI_WAT_ALERT

Sep 18 20:37:47 LMC-034538 kernel[0]: macx_swapon SUCCESS

Sep 18 20:37:50 LMC-034538 configd[20]: network changed: v4(en0+:192.168.0.15) DNS+ Proxy+ SMB

Sep 18 20:37:50 LMC-034538 UserEventAgent[14]: Captive: en0: Not probing 'Gumdrop-Motorola' (protected network)

Sep 18 20:37:50 LMC-034538 configd[20]: network changed: v4(en0!:192.168.0.15) DNS Proxy SMB

Sep 18 20:37:51 LMC-034538 kernel[0]: (default pager): [KERNEL]: ps_select_segment - send HI_WAT_ALERT

Sep 18 20:37:51 LMC-034538 kernel[0]: macx_swapon SUCCESS

Sep 18 20:37:53 LMC-034538 kernel[0]: hibernate_alloc_pages act 205305, inact 278633, anon 174076, throt 0, spec 291721, wire 134467, wireinit 153798

Sep 18 20:37:53 LMC-034538 kernel[0]: hibernate_setup(0) took 13830 ms

Sep 18 20:37:53 LMC-034538 kernel[0]: sizeof(IOHibernateImageHeader) == 512

Sep 18 20:37:53 LMC-034538 kernel[0]: kern_open_file_for_direct_io(-536870181) took 0 ms

Sep 18 20:37:53 LMC-034538 kernel[0]: error 0xe00002db opening hibernation file

Sep 18 20:37:53 LMC-034538 kernel[0]: IOPolledFileOpen(e00002db)

Sep 18 20:37:53 LMC-034538 kernel[0]: hibernate file close due timeout

Sep 18 20:37:53 LMC-034538 kernel[0]: AppleCamIn::powerStateWillChangeTo - root-domain power state = 0x00000002 (flags=0x00000004)

Sep 18 20:37:54 LMC-034538 kernel[0]: en0: BSSID changed to 74:31:70:6d:14:2b

Sep 18 20:37:54 LMC-034538 kernel[0]: wlEvent: en0 en0 Link DOWN virtIf = 0

Sep 18 20:37:54 LMC-034538 kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).

Sep 18 20:37:54 LMC-034538 kernel[0]: en0::IO80211Interface::postMessage bssid changed

Sep 18 20:37:54 LMC-034538 kernel[0]: IOThunderboltSwitch<0xffffff80260c3000>(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 11 unplug = 0

Sep 18 20:37:55 LMC-034538 kernel[0]: AppleThunderboltNHIType2::waitForOk2Go2Sx - retries = 2

Sep 18 20:37:56 LMC-034538 hidd[79]: MultitouchHID: device bootloaded

Sep 18 20:37:56 LMC-034538 kernel[0]: sleep

Sep 18 20:37:56 LMC-034538 kernel[0]: Wake reason: ?

Sep 18 20:37:56 LMC-034538 kernel[0]: 4995.563125: AirPort_Brcm43xx::powerChange: System Wake - Full Wake/ Dark Wake / Maintenance wake

Sep 18 20:37:56 LMC-034538 kernel[0]: AppleCamIn::powerStateWillChangeTo - root-domain power state = 0x00000003 (flags=0x00000002)


This all seems to loop until the battery drains completely. Any Thoughts?

MacBook Air, OS X Mountain Lion (10.8.4)

Posted on Sep 19, 2013 5:18 PM

Reply
11 replies

Oct 24, 2013 7:55 PM in response to magalagums

I have the exact same problem. I just installed Mavericks three days ago and I'm having battery drain when the lid is closed.

Does anybody have a solution for this problem ?

Here are the logs :


Oct 24 19:33:26 Yassines-MacBook-Air kernel[0]: Wake reason: ?

Oct 24 19:33:26 Yassines-MacBook-Air kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000340

Oct 24 19:33:26 Yassines-MacBook-Air kernel[0]: AppleCamIn::wakeEventHandlerThread

Oct 24 19:33:26 Yassines-MacBook-Air kernel[0]: Previous Sleep Cause: 5

Oct 24 19:33:26 Yassines-MacBook-Air kernel[0]: AppleHSSPIController::HandleMessage Device Wake by Host

Oct 24 19:33:26 Yassines-MacBook-Air.local hidd[71]: MultitouchHID: device bootloaded

Oct 24 19:33:26 Yassines-MacBook-Air kernel[0]: IOThunderboltSwitch<0xffffff80263b0600>(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 11 unplug = 0

Oct 24 19:33:26 Yassines-MacBook-Air kernel[0]: IOThunderboltSwitch<0xffffff80263b0600>(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 12 unplug = 0

Oct 24 19:33:26 Yassines-MacBook-Air kernel[0]: TBT W (2): 0x0100 [x]

Oct 24 19:33:26 Yassines-MacBook-Air kernel[0]: ARPT: 16306.189738: si_survive_perst_war: bar0win before 18003000, bar0win after 18001000

Oct 24 19:33:26 Yassines-MacBook-Air kernel[0]: ARPT: 16306.253606: AirPort_Brcm43xx::powerChange: System Wake - Full Wake/ Dark Wake / Maintenance wake

Oct 24 19:33:26 Yassines-MacBook-Air kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000340

Oct 24 19:33:26 Yassines-MacBook-Air kernel[0]: AppleCamIn::wakeEventHandlerThread

Oct 24 19:33:31 Yassines-MacBook-Air kernel[0]: AppleCamIn::handleWakeEvent_gated

Oct 24 19:33:55 --- last message repeated 1 time ---

Oct 24 19:33:55 Yassines-MacBook-Air kernel[0]: ARPT: 16335.293657: AirPort_Brcm43xx::powerChange: System Sleep

Oct 24 19:33:55 Yassines-MacBook-Air kernel[0]: ARPT: 16335.293664: wl0: powerChange: *** BONJOUR/MDNS OFFLOADS ARE NOT RUNNING.

Oct 24 19:33:55 Yassines-MacBook-Air kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000340

Oct 24 19:33:56 Yassines-MacBook-Air kernel[0]: hibernate image path: /var/vm/sleepimage

Oct 24 19:33:56 Yassines-MacBook-Air kernel[0]: efi pagecount 63

Oct 24 19:33:56 Yassines-MacBook-Air kernel[0]: hibernate_page_list_setall(preflight 1) start 0xffffff80e615c000, 0xffffff80e619c000

Oct 24 19:33:56 Yassines-MacBook-Air kernel[0]: hibernate_page_list_setall time: 254 ms

Oct 24 19:33:56 Yassines-MacBook-Air kernel[0]: pages 721153, wire 140975, act 184323, inact 371784, cleaned 0 spec 82, zf 11, throt 0, compr 19760, xpmapped 516000

Oct 24 19:33:56 Yassines-MacBook-Air kernel[0]: could discard act 624 inact 394 purgeable 1214 spec 1986 cleaned 0

Oct 24 19:33:56 Yassines-MacBook-Air kernel[0]: hibernate_page_list_setall preflight pageCount 140975 est comp 73 setfile 453065912 min 1073741824

Oct 24 19:33:56 Yassines-MacBook-Air kernel[0]: [0x120e0f8000, 0x40000000]

Oct 24 19:33:56 Yassines-MacBook-Air kernel[0]: [0x0, 0x0]

Oct 24 19:33:56 Yassines-MacBook-Air kernel[0]: kern_open_file_for_direct_io(0) took 6 ms

Oct 24 19:33:56 Yassines-MacBook-Air kernel[0]: Opened file /var/vm/sleepimage, size 1073741824, partition base 0x0, maxio 2000000 ssd 1

Oct 24 19:33:56 Yassines-MacBook-Air kernel[0]: hibernate image major 1, minor 0, blocksize 4096, pollers 5

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: IOThunderboltSwitch<0xffffff80263b0600>(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 11 unplug = 0

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: IOThunderboltSwitch<0xffffff80263b0600>(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 12 unplug = 0

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: vm_compressor_flush - starting

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: vm_compressor_flush completed - took 833 msecs

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: hibernate_flush_memory: buffer_cache_gc freed up 138 wired pages

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: hibernate_alloc_pages act 146027, inact 372178, anon 45, throt 0, spec 2068, wire 155595, wireinit 146087

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: hibernate_setup(0) took 1250 ms

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: ARPT: 16337.275385: scanparams:

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: ARPT: 16337.275388: flags 0

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: ARPT: 16337.275391: active_time 0, passive_time 0

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: ARPT: 16337.275393: scan_start_delay 0

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: ARPT: 16337.275395: scan_cycle_idle_rest_time 0, scan_cycle_idle_rest_time_multiplier 0

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: ARPT: 16337.275398: max_scan_cycles 0, max_rest_time 0

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: ARPT: 16337.275401: Scan Channels (0): None

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: ARPT: 16337.275403: SSID (0): None

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: ARPT: 16337.275405: SSID count = 0

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: ARPT: 16337.275408: wl0: leaveModulePoweredForOffloads: Wi-Fi will turn off.

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000340

Oct 24 19:33:58 Yassines-MacBook-Air kernel[0]: AppleThunderboltNHIType2::waitForOk2Go2Sx - retries = 2

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: hibernate_page_list_setall(preflight 0) start 0xffffff80e615c000, 0xffffff80e619c000

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: hibernate_teardown started

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: hibernate_teardown: wired_pages 156080, free_pages 1408942, active_pages 144140, inactive_pages 371783, speculative_pages 77, cleaned_pages 0, compressor_pages 79

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: hibernate_teardown_pmap_structs done: last_valid_compact_indx 158196

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: hibernate_teardown: mark_as_unneeded_pages 4096, 23776, 18711

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: hibernate_teardown completed - discarded 46583

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: hibernate_page_list_setall time: 462 ms

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: pages 614690, wire 94338, act 144140, inact 371783, cleaned 0 spec 77, zf 0, throt 0, compr 79, xpmapped 516000

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: did discard act 673 inact 395 purgeable 1214 spec 1991 cleaned 0

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: hibernate_page_list_setall found pageCount 610417

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: IOHibernatePollerOpen, ml_get_interrupts_enabled 0

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: IOHibernatePollerOpen(0)

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: encryptStart 14000

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: bitmap_size 0x3f908, previewSize 0x69e4e0, writing 608390 pages @ 0x6f1de8

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: encryptEnd 5b9c600

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: image1Size 0x95a9000, encryptStart1 0x14000, End1 0x5b9c600

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: encryptStart 95a9000

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: PMStats: Hibernate write took 4939 ms

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: all time: 4939 ms, comp bytes: 1368731648 time: 1634 ms 798 Mb/s, crypt bytes: 1012790784 time: 2683 ms 359 Mb/s,

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: image 0 (0%), uncompressed 1368727552 (334162), compressed 1063677328 (77%), sum1 80d4e18b, sum2 44bf99d7

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: zeroPageCount 20455, wiredPagesEncrypted 58961, wiredPagesClear 33482, dirtyPagesEncrypted 241731

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: hibernate_write_image done(e00002e8)

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: sleep

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: hibernate_rebuild started

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: hibernate_rebuild_pmap_structs done: last_valid_compact_indx 158196

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: hibernate_rebuild completed - took 84 msecs

Oct 24 19:34:05 Yassines-MacBook-Air kernel[0]: Wake reason: ?

Mid-2013 Macbook Air drains battery at hibernate

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.