I have had some issues with the battery on my MacBook draining prematurely with the lid shut, and I think I have found a clue.
Following advice found elsewhere on the Web, when I issue:
pmset -g assertions
The associated message is:
pid 10945(AddressBookSourceSync): [0x0000d8f9000192d5] 00:01:32 PreventUserIdleSystemSleep named: "Address Book Source Sync" Timeout will fire in 1707 secs Action=TimeoutActionTurnOff
I gather that this is causing my MacBook to stay awake when the lid is shut, thus draining my battery. It’s not always the same process (Address Book Source Sync), and sometimes there is more than one process.
I don’t imagine that it’s supposed to be working that way, since it’s not supposed to drain my battery. How can I manage PreventUserIdleSystemSleep?