Developer builds geofencing service that auto-silences phones without draining battery
A developer was prompted to create a better solution after a phone ringing loudly in a silent lecture hall caused embarrassment. Existing options either used rigid time-based schedules or constantly polled GPS, which drained batteries. The developer built an app called Muffle that relies on Google Play Services' GeofencingClient, letting the operating system handle location monitoring more efficiently. The system runs as a foreground service to avoid being killed under memory pressure, and uses an enter trigger so users already inside a zone are handled correctly. A priority system also resolves conflicts between location-based and calendar-based sound rules.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in