外接键盘导致电脑无法正常进入睡眠
这个问题在10.15就一直有
输出日志:
Assertion status system-wide:
BackgroundTask 0
ApplePushServiceTask 0
UserIsActive 1
PreventUserIdleDisplaySleep 0
PreventSystemSleep 0
ExternalMedia 0
PreventUserIdleSystemSleep 1
NetworkClientActive 0
Listed by owning process:
### pid 126(WindowServer): [0x0000b96000098e4e] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle serviceID:10000240e name:AppleUserHIDEventSe product:USB Keyboard eventType:3"
Timeout will fire in 120 secs Action=TimeoutActionRelease
pid 405(sharingd): [0x0001301800019bfa] 00:03:40 PreventUserIdleSystemSleep named: "Handoff"
pid 68815(Safari): [0x000130a700019c4b] 00:01:18 PreventUserIdleSystemSleep named: "Safari Downloads In Progress"
pid 305(UserEventAgent): [0x000001a1000b831f] 23:52:08 BackgroundTask named: "com.apple.corespotlightd.updateContacts"
Created for PID: 451.
可能还是usb方面的问题,你试下我最新发的那个oc看看?
你可以試試斷開外接鍵盤,然後將機器睡眠,在喚醒,在連結鍵盤....