~/talk

Thinking about battery life: strategies for location monitoring (Geofence)

TalkinJapaneseat DroidKaigi 2024 · 2024-09-11..09-13· [android]
name:Haruchiro
links:none on file
slides:none on file

Compares a custom geofence implementation (using the Fused Location Provider and haversine formula to compute distance) with Google Mobile Services (GMS) Geofence. Measures battery use and accuracy on a walk in Shibuya with 500 m radius and 5 s updates: custom geofence uses about twice the idle power (~269 mA) and supports polygon regions and lower latency, while GMS Geofence uses much less power (~152 mA) but has delayed triggers (~300 m late, ~20% error) and occasional missed events; also notes a 100-geofence limit in GMS.

AI-written summary · about

  1. 0:00Introduction
  2. 2:31Geofencing use cases
  3. 6:26Geofence algorithms
  4. 15:38Location accuracy
  5. 16:43DIY geofence
  6. 22:35Battery optimization
  7. 31:44Geofencing with GMS
  8. 35:50Geofence power comparison
  9. 37:42Geofence pros and cons
  10. 38:46Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.