Prevent Display Sleep while there is a audio output

I have a Display with integrated Speakers. It's connected via USB-C with my Mac Mini M4.


When the display goes to sleep, the audio channel is also closed. This is quite annoying.


Before, I had Intel Mac Mini with MacOS Sequoia connected to the same Display. When Music was playing oder Firefox had an Audio stream open (Videoconferencing). The Display would not go to Sleep.


Is there a way to prevent Display Sleep when Audio Output is active without deactivating the Display Sleep completely?


Regards

Estartu

Mac mini, macOS 26.0

Posted on Oct 27, 2025 4:13 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 27, 2025 7:10 AM

Estartu wrote:

The Mac Mini Speaker is really crap. My Display Speakers a really good. I do not want to listen to music on the Mac Mini Speaker. I do it all the Time on my Display Speakers.
As for the Test. What are to aiming at. Yes I will hear the sound when the display is of. But as I said, it's no fun.

Regards
Estartu

Right, I understand — you want to keep using the display’s speakers but prevent it from sleeping while audio is playing.

Unfortunately, macOS doesn’t treat “audio playback” over a USB-C display as an “activity” that keeps the screen awake. On older Intel Macs, the behavior may have been different due to how the GPU and audio drivers handled USB-C displays.

You could try one of these workarounds:

  1. App-based approach: Use an app like Amphetamine or KeepingYouAwake and set a rule to keep the display awake only when specific apps (like Music or Firefox) are playing audio.
  2. Script approach: Use a small script or automation that runs a caffeinate command while audio output is active, and stops it when silent.
  3. Feedback to Apple: Since this seems like a regression from your Intel Mac, you might want to report it via the Feedback Assistant app — Apple may adjust this in a future macOS update.


5 replies
Question marked as Top-ranking reply

Oct 27, 2025 7:10 AM in response to Estartu

Estartu wrote:

The Mac Mini Speaker is really crap. My Display Speakers a really good. I do not want to listen to music on the Mac Mini Speaker. I do it all the Time on my Display Speakers.
As for the Test. What are to aiming at. Yes I will hear the sound when the display is of. But as I said, it's no fun.

Regards
Estartu

Right, I understand — you want to keep using the display’s speakers but prevent it from sleeping while audio is playing.

Unfortunately, macOS doesn’t treat “audio playback” over a USB-C display as an “activity” that keeps the screen awake. On older Intel Macs, the behavior may have been different due to how the GPU and audio drivers handled USB-C displays.

You could try one of these workarounds:

  1. App-based approach: Use an app like Amphetamine or KeepingYouAwake and set a rule to keep the display awake only when specific apps (like Music or Firefox) are playing audio.
  2. Script approach: Use a small script or automation that runs a caffeinate command while audio output is active, and stops it when silent.
  3. Feedback to Apple: Since this seems like a regression from your Intel Mac, you might want to report it via the Feedback Assistant app — Apple may adjust this in a future macOS update.


Oct 27, 2025 4:26 AM in response to Owl-53

No. I don't what to turn it of completely. The Display should go to sleep when not needed.


But Playing audio does need the display so it should stay on as long as there is an Audio output active.


The definition of inactive is wrong. Playing Audio is an activity of the display.


On my old Mac Mini this has worked quite well.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Prevent Display Sleep while there is a audio output

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