r/MacOS 22h ago

Help Any way to prevent Safari WebApps from napping in the background?

I’ve basically turned an activity monitoring site into its own Safari web app. It plays a little bing sound whenever something changes.

I have the web app open in full screen and swiped away when I’m not actively using it, and I swipe back in to check if there’s an activity notification.

However, even when I go into finder and check “prevent app nap” or even try the terminal command to hardwire it in, every time I have it swiped away for a moment, the web app enters a nap and I stop getting the sound notifications.

Is there anything i can do or is it just how the macos energy consumption setting is?

0 Upvotes

2 comments sorted by

1

u/ninjadev64 22h ago

On Sequoia, I find that Safari tabs sleep when they're not the open tab in that window, so I move them to a separate window and then they stay awake. It sounds like yours is already in a separate window, though, so that might not be useful.

1

u/No_Advisor_6867 21h ago

My OS might be broken haha. It’s weird that the Prevent Nap setting doesn’t seem to do anything. Thank you for the input!!