If you find yourself returning to a fully-drained Windows 11 PC after putting it into sleep mode, consider switching to ...
I'm assuming you've done the requisite googling so i didn't bother. I had a look at what events i could find in .net, since i had the help open, and services are notified of all power event changes.