Wasn’t there an app that allowed you to monitor iPhone modes, like airplane?

I might be misremembering. My goal is when I’m in bed after 2 hrs turn on airplane mode. I use withings mat to track