After installing Fedora 43 on my 2015 15" Macbook Pro I noticed it was taking 15-20 seconds for the system to wake up when I would try to resume after closing and reopening the laptops lid.
I found this solution on the Linux Mint Forums, tried it on my Macbook running Fedora 43 and it worked like a charm. Wake up time went from 15-20 seconds down to about 5 seconds. All credit goes to the original poster in the linked thread.
- Create a new file as follows:
sudo vim /usr/lib/systemd/system-sleep/fix-macbook-wakeup - Paste the following into the new file, then save and close: