I want to disable some apps from running during sleep (due to unwanted/unnecessary battery consumption). Particularly; I want to disable Microsoft OneDrive from running during sleep on a M2 MacBook Air (Ventura 13.5.1).
Is there a direct way to do so? If not, perhaps there is an indirect way?
I suppose enabling Low Power Mode would stop it from running, as well as any other background app. A way to automatically enable it just before sleep (and to disable right after wake-up) could be a sub-par but OK fix.
(I get around 2% drop in 12 hrs of sleep, which is sad especially given that I know for sure that there hasn't been any updates, and I could definitely just wait 30 extra seconds after waking my Mac up to receive the updates if there were any; if the updates couldn't be made in the time that I navigate the directory tree to the documents I'm after, that is.)