It happened during a quiet afternoon in the mosque. The imam was midway through a soft, reflective portion of the sermon when a sharp, melodic ringtone cut through the silence like a knife. Every head turned. The person whose phone it was scrambled to silence it, visibly flustered, but the damage was done. The atmosphere of concentration was shattered. I sat there with my own phone in my pocket, perfectly silent, because I had spent the last three weeks obsessing over why my previous automation attempts kept failing or draining my battery to zero by noon.

We have all been there. Whether it is a lecture hall, a medical appointment, or a board meeting, the social friction caused by a sudden, avoidable noise is universal. Existing solutions often fall into two camps: they are either battery-hungry monsters that keep the GPS radio pinned at all times, or they are inconsistent, failing to trigger the moment you step into the room. I wanted something that felt like it wasn't even there—a system that sat quietly in the background, consuming practically zero CPU cycles, and yet fired the exact second I crossed a physical threshold. Achieving this on modern Android, with its increasingly restrictive background execution policies, turned into a masterclass in resource management.