Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

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

(AppleTopCaseHIDEventDriver) makes my MacBook awake and can not sleep

My MacBook (Retina, 12-inch, Early 2016) installed OS 10.12.1.

I find that it's beginning when I used usb mouse and connected display in the office,

and pull it out when I am back to home.

Then my MacBook can not sleep ideally,

it seems wake every 5min or shortly.

And I run the command log show --style syslog | fgrep "Wake reason",

it shows below


2016-12-14 09:05:31.842382+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 09:06:05.694808+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:06:05.694810+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:10:24.190920+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 09:10:57.749923+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:10:57.749925+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:15:16.334706+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 09:15:49.876609+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:15:49.876611+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:20:07.928603+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 09:20:41.898071+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:20:41.898073+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:24:58.846738+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 09:25:32.139479+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:25:32.139482+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:29:50.215350+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 09:30:23.832798+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:30:23.832801+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:34:41.828671+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 09:35:15.115719+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:35:15.115721+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:39:33.208010+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 09:40:06.881646+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:40:06.881648+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:44:24.830091+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 09:44:58.734707+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:44:58.734710+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:49:17.121781+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 09:49:50.782845+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:49:50.782847+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:54:37.830068+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 09:55:11.759572+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:55:11.759574+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 09:59:30.126911+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 10:00:03.716548+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:00:03.716550+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:04:21.832237+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 10:04:54.875793+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:04:54.875795+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:09:12.841098+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 10:09:46.678979+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:09:46.678981+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:22:19.162610+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 10:22:51.960042+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:22:51.960044+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:28:16.149326+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 10:28:49.758903+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:28:49.758905+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:29:45.136439+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 10:30:29.969127+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:30:29.969130+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:31:59.196305+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 10:32:36.301224+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:32:36.301226+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:37:13.206109+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 10:38:02.660938+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:38:02.660940+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:38:40.143951+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 10:39:13.803321+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:39:13.803323+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:40:45.216297+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 10:41:34.796324+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:41:34.796327+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:41:55.200646+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 10:42:44.710173+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:42:44.710175+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:50:27.887157+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 10:51:01.706583+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:51:01.706585+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ARPT (Network)

2016-12-14 10:51:46.888461+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-14 10:52:20.824001+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: EC.LidOpen (User)

2016-12-14 10:52:20.824004+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: EC.LidOpen (User)

2016-12-14 10:55:37.400410+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)


And pmset -g assertions,

it shows


Assertion status system-wide:

BackgroundTask 0

ApplePushServiceTask 0

UserIsActive 1

PreventUserIdleDisplaySleep 0

PreventSystemSleep 0

ExternalMedia 0

PreventUserIdleSystemSleep 0

NetworkClientActive 0

Listed by owning process:

pid 111(hidd): [0x0000492f00098e24] 00:24:17 UserIsActive named: "com.apple.iohideventsystem.queue.tickle"

Timeout will fire in 595 secs Action=TimeoutActionRelease

Kernel Assertions: 0x100=MAGICWAKE

id=584 level=255 0x100=MAGICWAKE mod=2016/12/14 12:45 description=en0 owner=en0

Idle sleep preventers: IODisplayWrangler


It really bother me, because of the battery losing.

Has any solution it avoid this?

MacBook, iOS 10.2

Posted on Dec 13, 2016 7:41 PM

Reply
3 replies

Dec 15, 2016 7:47 AM in response to siyuch

Hi siyuch,

Thank you for using Apple Support Communities. Based on what you stated, it seems like the computer is waking up unexpectedly. There are a few reasons this can happen. I would recommend you read this article, if the computer wakes up only at home, it could be a network or Bluetooth device causing it to happen.

If your Mac wakes unexpectedly

Your Mac might wake for these activities:

  • Network activity that uses the Wake on Demand feature. Examples of network activity include iTunes sharing, photo sharing, printer sharing, file sharing, and using Back to My Mac.
  • Enhanced notifications from FaceTime, Messages, and other apps and services.
  • Bluetooth activity. To prevent Bluetooth devices from waking your Mac, choose Apple menu > System Preferences, then click Bluetooth. Click the Advanced Button, then deselect "Allow Bluetooth devices to wake this computer."

If your Mac doesn't sleep or wake when expected
Cheers.

Dec 16, 2016 12:32 AM in response to raina_b22

Thanks for your reply.


Then I have tried to turn off Wi-Fi and bluetooth before sleep,

the weak reason for ARPT disappeared but there are some new patterns bothering sleep.


2016-12-16 04:07:22.822075+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: EC.SleepTimer (SleepTimer)

2016-12-16 04:07:22.822078+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: EC.SleepTimer (SleepTimer)

2016-12-16 07:07:22.386158+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-16 07:07:38.913758+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ?

2016-12-16 07:07:38.913761+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ?

2016-12-16 09:07:31.128341+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-16 09:07:32.566397+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-16 09:08:05.792093+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ?

2016-12-16 09:08:05.792096+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ?

2016-12-16 11:08:01.125816+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-16 11:08:02.582195+0900 localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2016-12-16 11:08:34.191843+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ?

2016-12-16 11:08:34.191846+0900 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ?


It seems when I left my mac to sleep in 4:07, after 3 hours at 7:07 it might change to the standby mode.

After changed to standby mode it waked for each 2 hours by the (AppleTopCaseHIDEventDriver)

Then I saw the detail of system log by pmset -g log.


2016-12-16 04:07:19 +0900 Sleep Entering Sleep state due to 'Clamshell Sleep':TCPKeepAlive=active Using Batt (Charge:54%) 10803 secs
2016-12-16 04:07:22 +0900 Wake Requests [*proc=powerd request=TCPKATurnOff inDelta=43242]
2016-12-16 04:07:22 +0900 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(2488 ms)]
2016-12-16 07:07:22 +0900 Kernel Client Acks Delays to Sleep notifications: [AppleBacklightDisplay driver is slow(msg: SetState to 0)(984 ms)] [RP09 driver is slow(msg: SetState to 1)(1116 ms)]
2016-12-16 07:07:22 +0900 Assertions PID 157(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd00008303 [System: DeclUser kDisp]
2016-12-16 07:07:22 +0900 DarkWake DarkWake from Deep Idle [CDN] due to EC.SleepTimer/SleepTimer: Using BATT (Charge:51%) 0 secs
2016-12-16 07:07:22 +0900 HibernateStats hibmode=3 standbydelay=10800 2388
2016-12-16 07:07:22 +0900 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:51%) 7235 secs
2016-12-16 07:07:24 +0900 Assertions PID 157(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:02 id:0x0xd00008303 [System: DeclUser kDisp]
2016-12-16 07:07:27 +0900 Wake Requests [*proc=mDNSResponder request=Maintenance inDelta=7200] [proc=powerd request=TCPKATurnOff inDelta=32438]
2016-12-16 07:07:27 +0900 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(657 ms)] [mDNSResponder is slow(4666 ms)]
2016-12-16 09:07:31 +0900 Kernel Client Acks Delays to Sleep notifications: [RP09 driver is slow(msg: SetState to 1)(1121 ms)] [powerd is slow(4670 ms)]
2016-12-16 09:07:31 +0900 Assertions PID 157(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd00008307 [System: DeclUser kDisp]
2016-12-16 09:07:31 +0900 Assertions PID 157(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd00008307 [System: DeclUser kDisp]
2016-12-16 09:07:57 +0900 DarkWake DarkWake from Standby [CDN] due to RTC/Maintenance: Using BATT (Charge:51%) 0 secs
2016-12-16 09:07:57 +0900 HibernateStats hibmode=3 standbydelay=10800 rd=367 ms
2016-12-16 09:07:57 +0900 Kernel Client Acks Delays to Wake notifications: [RP09 driver is slow(msg: SetState to 1)(1116 ms)] [RP09 driver is slow(msg: SetState to 1)(1125 ms)]
2016-12-16 09:07:57 +0900 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:51%) 7230 secs
2016-12-16 09:07:59 +0900 Wake Requests [*proc=mDNSResponder request=Maintenance inDelta=7198] [proc=powerd request=TCPKATurnOff inDelta=25205]
2016-12-16 09:07:59 +0900 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(1848 ms)]
2016-12-16 11:08:01 +0900 Assertions PID 157(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd0000830f [System: DeclUser kDisp]
2016-12-16 11:08:02 +0900 Assertions PID 62(powerd) TimedOut BackgroundTask "Powerd - Wait for client BackgroundTask assertions" 02:00:05 id:0x0xb00008309 [System: PrevIdle DeclUser kDisp]
2016-12-16 11:08:03 +0900 Assertions PID 157(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:02 id:0x0xd0000830f [System: DeclUser kDisp]
2016-12-16 11:08:27 +0900 DarkWake DarkWake from Standby [CDN] due to RTC/Maintenance: Using BATT (Charge:51%) 0 secs
2016-12-16 11:08:27 +0900 HibernateStats hibmode=3 standbydelay=10800 rd=379 ms
2016-12-16 11:08:27 +0900 Kernel Client Acks Delays to Wake notifications: [RP09 driver is slow(msg: SetState to 1)(1124 ms)] [RP09 driver is slow(msg: SetState to 1)(1124 ms)]


I found that this

Wake Requests [*proc=mDNSResponder request=Maintenance inDelta=7200] [proc=powerd request=TCPKATurnOff inDelta=32438]

maybe the main reason, I think it means it will do something in 7200s=2hours.


So could you please tell me the reason for this?

(AppleTopCaseHIDEventDriver) makes my MacBook awake and can not sleep

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