Well don't
Turn BlueTooth ON, it doesn't use much power, and you could easily program an ESP32 to check if it's connected in the house or not, and detect your absence as when the BlueTooth is no longer connected.
I also turn things OFF on my phone, to extend battery life - but I leave BlueTooth ON as it then automatically connects to the Entertainment System in my car, allowing hands free use in the car. It doesn't cause any worthwhile degradation of battery life for the phone.