Very good ideas! As hobby I like to automate mundane tasks. I’m applying a similar approach by using iPhone Shortcuts app. See https://twitter.com/xiwenc/status/1578670843584204801?s=46&t... for how i did it by automatically turning off/on low power mode, wifi, etc. Perhaps you’re inspired by it.