This seems to be available as a first party config option
https://support.apple.com/en-us/102888
Get a semi-new Apple laptop and then let us know how terrible the power management is.
https://support.apple.com/en-mn/guide/mac-help/mh40774/15.0/...
Turn Power Nap on or off for a Mac desktop computer On your Mac, choose Apple menu > System Settings, then click Energy in the sidebar. (You may need to scroll down.) Turn on Enable Power Nap. Note: This option is only available on Intel-based Mac computers.
You can see (and change) the settings via Terminal, 'pmset -g' will show the current options.
Turn off WiFi when going to sleep, turn it back on on wake.
I don't need my laptop to be doing things when it's in my bag. It's not a phone, unlike what Apple seems to think...
But that would require the app to at least register somewhere in advance to be able to achieve that, if not a full fledged permission.