Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

AirpodsNow

macrumors regular
Original poster
Aug 15, 2017
233
153
Hi there,

I got a new LG 38" monitor for a month now, but somehow it keeps waking up the monitor for a few seconds every now and then. It's in the same room as where I sleep so it is rather noticeable during the night. I tried to find a way around it and found out it's rather common for some monitors when only connecting to USB-C (my previous Dell 27" didn't had this issue). The solution proposed was as follows:

  • Settings > General > Airdrop & Handoff, Allow Handoff between this Mac and your iCloud devices: Disabled (this was causing sleep locks from sharingd)
  • Settings > Displays > Options, Prevent automatic sleeping on power adapter when the display is off: Disabled
  • Settings > Battery > Options, Wake for network access: Never
  • sudo pmset -a disablesleep 0
  • sudo pmset -a powernap 0
  • sudo pmset -a tcpkeepalive 0 (note: this apparently breaks 'find my' for this device)

I did the first three and didn't do the sudo commands since I am not sure if that screws up anything else. Does anyone here can advise or clarify what these commands do? I prefer just using the Mac is it comes in its defaults state or only change things in the GUI/settings menu. Because I would forget about those and perhaps causes other issues along the way. Or... if people have other solutions to this rather annoying wake up issue.

thanks.
 
On the contrary, my setup with a Dell monitor has this problem. Haven't got myself an LG monitor though.

pmset -a: change power management settings, apply the setting to all scenarios (battery/AC Power/UPS)

displaysleep: display sleep timer. The numeric value is "minutes", 0 means disable.
powernap: not relevant on an Apple silicon machine.
tcpkeepalive: not found in Apple's manual (Ventura 13.6.4), appears to be deprecated
 
  • Like
Reactions: AirpodsNow
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.