Try It Yourself: Location Awareness

Try It Yourself: Location Awareness

animation
location
ux-design
NoteTry It Yourself

Hands-on exercises to explore location awareness:

Exercise 1: Build a Simple Geofence

Use smartphone location services:

  1. Define home geofence: Center at your address, radius 150 meters
  2. Implement on-device detection (IFTTT, Tasker, or Shortcuts app)
  3. Trigger: “Send notification when entering/exiting home zone”
  4. Test by walking around neighborhood, crossing boundary multiple times

What to observe: Count false triggers when walking past house without entering. Notice dwell time needed to prevent false alarms (30-60 seconds typical). Measure GPS accuracy variation (5-20m depending on sky view).

Compare Indoor Accuracy

Visit a large building with Wi-Fi and walk a known path:

  1. Use Wi-Fi-based location app (Google Maps indoors, if available)
  2. Record estimated positions every 10 meters along your path
  3. Compare to actual positions measured on building floor plan
  4. Calculate average error

What to observe: Wi-Fi typically gives 5-15m accuracy indoors. Notice how accuracy changes between open areas (better) and corridors surrounded by metal/concrete (worse). Positioning may “jump” discontinuously due to signal variations.

Geofence Battery Impact

Compare battery drain with geofencing on vs. off:

Treat the two-day comparison as a bounded experiment rather than a universal battery claim. Keep ordinary phone use, signal conditions, zone count, and observation time as comparable as practical; record the starting and ending charge and note unusual activity. Then interpret the difference alongside boundary responsiveness and false triggers. The result connects energy to the product promise: reduce scan or fix frequency only if the geofence still reacts within the accepted time and location uncertainty.

  1. Day 1: Enable geofencing app with 3 zones, check battery percentage at end of day
  2. Day 2: Disable geofencing, check battery percentage with same phone usage
  3. Calculate difference

What to observe: Geofencing battery use depends on radio, update policy, and device; measure it rather than using a generic 5–15% drain. Continuous GPS can be power intensive; replace the 30–50% per-day figure with a device- and workload-specific measurement.

Back to the chapter