Skip to content

Colota - Android GPS Location tracker

docs: remove obsolete stationary GPS toggle and fix admonition formatting

Max Dietricha659620469c4
diff --git a/apps/docs/docs/configuration/gps-settings.md b/apps/docs/docs/configuration/gps-settings.md
index 9a1ecff2..41f51b68 100644
--- a/apps/docs/docs/configuration/gps-settings.md
+++ b/apps/docs/docs/configuration/gps-settings.md
@@ -6,13 +6,12 @@ sidebar_position: 2
## Available Settings
-| Setting | Description | Default | Range |
-| ------------------------- | ------------------------------------------ | --------- | ---------- |
-| Tracking Interval | Time between GPS fixes | 5 seconds | 1s - hours |
-| Movement Threshold | Minimum movement to trigger update | 0 meters | 0m - 1000m |
-| Accuracy Threshold | Filter out fixes above this accuracy | 50 meters | 1m - 1000m |
-| Filter Inaccurate | Enable/disable accuracy filtering | Disabled | On/Off |
-| Pause GPS when stationary | Stop active GPS after 60s without movement | Enabled | On/Off |
+| Setting | Description | Default | Range |
+| ------------------ | ------------------------------------ | --------- | ---------- |
+| Tracking Interval | Time between GPS fixes | 5 seconds | 1s - hours |
+| Movement Threshold | Minimum movement to trigger update | 0 meters | 0m - 1000m |
+| Accuracy Threshold | Filter out fixes above this accuracy | 50 meters | 1m - 1000m |
+| Filter Inaccurate | Enable/disable accuracy filtering | Disabled | On/Off |
## Tracking Interval
@@ -35,27 +34,6 @@ When enabled, GPS fixes with accuracy worse than the threshold are discarded. Th
The Google Play variant uses Android's `HIGH_ACCURACY` positioning mode via FusedLocationProvider, which combines GPS, Wi-Fi, and cellular data. The FOSS variant uses Android's native `LocationManager` with `GPS_PROVIDER` directly.
-## Pause GPS When Stationary
+## Stationary Detection
-When enabled, Colota automatically pauses active GPS after 60 seconds of no movement (speed below ~1 km/h). This is the single biggest battery saver for most users, since people are stationary for most of the day.
-
-**How it works:**
-
-1. Speed stays below the threshold for 60 seconds
-2. Active GPS is stopped - no more battery-draining satellite fixes
-3. The hardware significant motion sensor is armed (near-zero power consumption)
-4. When the device starts moving again, the motion sensor fires and active GPS resumes immediately
-
-This uses Android's `TYPE_SIGNIFICANT_MOTION` sensor, which runs entirely in the device's sensor hub and consumes virtually no battery while waiting for motion.
-
-**Interaction with Accuracy Filter:**
-
-Stationary detection only evaluates fixes that pass the accuracy filter. However, once the 60-second countdown starts it runs uninterrupted - gaps where all fixes are filtered out do not reset the timer. In practice this means:
-
-- A tight accuracy threshold (e.g. 10m) may delay the start of the countdown in poor signal conditions, since fewer fixes get through to trigger it.
-- Once the countdown has started, it will complete even if subsequent fixes are filtered, as long as no fix with speed above ~1 km/h gets through.
-- Very tight accuracy thresholds indoors (where GPS signal is weak) can significantly delay or prevent stationary detection entirely.
-
-If you use a tight accuracy threshold and care about battery life, consider loosening it slightly or leaving the accuracy filter disabled.
-
-**Note:** Not all devices have a significant motion sensor. If the sensor is unavailable, this setting has no effect and GPS runs continuously as normal.
+Stationary detection is available through [tracking profiles](/docs/guides/tracking-profiles) (stationary condition) and [geofence zones](/docs/guides/geofencing) (pause when motionless). See those guides for configuration details.
diff --git a/apps/docs/docs/guides/battery-optimization.md b/apps/docs/docs/guides/battery-optimization.md
index 0f6b0b55..8603d6cc 100644
--- a/apps/docs/docs/guides/battery-optimization.md
+++ b/apps/docs/docs/guides/battery-optimization.md
@@ -8,7 +8,7 @@ Settings and tips to reduce battery usage without losing GPS fixes.
## Built-in Optimizations
-- **Stationary detection**: Automatically pauses GPS after 60s without movement, resumes on motion via hardware sensor (enabled by default)
+- **Stationary detection**: Pauses GPS after 60s without movement via [tracking profiles](/docs/guides/tracking-profiles) or [geofence motionless detection](/docs/guides/geofencing), resumes on motion via hardware sensor
- **Notification throttling**: Max 1 update per 10 seconds, plus 2-meter movement filter
- **Batch processing**: 50 items per batch, 10 concurrent network requests
- **Smart sync**: Only syncs when queue has items and network is available
diff --git a/apps/docs/docs/guides/geofencing.md b/apps/docs/docs/guides/geofencing.md
index e6580f0e..6269e8a6 100644
--- a/apps/docs/docs/guides/geofencing.md
+++ b/apps/docs/docs/guides/geofencing.md
@@ -43,7 +43,9 @@ Stops GPS after no device motion is detected for a configurable time (default 10
When both **WiFi** and **motionless** pause are enabled, GPS only resumes when **both** conditions clear - WiFi must be disconnected **and** motion must be detected. Either condition alone is not enough to resume.
-:::tip Changes made in the editor take effect immediately, even when you are already inside the zone. :::
+:::tip Changes made in the editor take effect immediately, even when you are already inside the zone.
+
+:::
## How It Works
diff --git a/apps/docs/docs/guides/tracking-profiles.md b/apps/docs/docs/guides/tracking-profiles.md
index 1d9bd2cc..d7a90e41 100644
--- a/apps/docs/docs/guides/tracking-profiles.md
+++ b/apps/docs/docs/guides/tracking-profiles.md
@@ -38,9 +38,13 @@ Tracking profiles automatically adjust GPS interval, distance filter, and sync s
Speed conditions use a rolling average of the last 5 GPS readings to avoid triggering on momentary speed spikes. The stationary condition uses a fixed speed threshold (0.3 m/s) with a 60-second timeout for reliable detection - unlike speed-below, it does not flap on GPS noise near zero.
-:::tip Stationary profile When the device becomes stationary, the hardware significant motion sensor is armed. Even with a long GPS interval (e.g. 30 min), the profile deactivates the moment the device moves without waiting for the next GPS fix. The deactivation delay setting is not shown for stationary profiles since the motion sensor handles instant resume. Set the distance filter to **0m** so points are recorded at every interval regardless of GPS drift. :::
+:::tip Stationary profile When the device becomes stationary, the hardware significant motion sensor is armed. Even with a long GPS interval (e.g. 30 min), the profile deactivates the moment the device moves without waiting for the next GPS fix. The deactivation delay setting is not shown for stationary profiles since the motion sensor handles instant resume. Set the distance filter to **0m** so points are recorded at every interval regardless of GPS drift.
-:::caution Accuracy filtering matters for stationary detection The stationary condition triggers when GPS speed stays below 0.3 m/s for 60 seconds. If your default settings allow inaccurate locations (e.g. 40m+ accuracy) with a low distance filter (0m), GPS drift from noisy fixes can produce phantom speeds above the threshold - preventing the stationary profile from ever activating. To fix this, tighten your accuracy filter (e.g. 15m or less) so only clean fixes reach the speed check. :::
+:::
+
+:::caution Accuracy filtering matters for stationary detection The stationary condition triggers when GPS speed stays below 0.3 m/s for 60 seconds. If your default settings allow inaccurate locations (e.g. 40m+ accuracy) with a low distance filter (0m), GPS drift from noisy fixes can produce phantom speeds above the threshold - preventing the stationary profile from ever activating. To fix this, tighten your accuracy filter (e.g. 15m or less) so only clean fixes reach the speed check.
+
+:::
## Profile Settings
@@ -58,7 +62,9 @@ When creating a new profile, GPS interval, distance filter, and sync interval ar
When multiple conditions match at the same time, the profile with the highest priority wins.
-:::tip If you use both a Speed Below and a Stationary profile, give Stationary the higher priority. Otherwise the speed profile keeps GPS running at its interval and the stationary heartbeat never kicks in. :::
+:::tip If you use both a Speed Below and a Stationary profile, give Stationary the higher priority. Otherwise the speed profile keeps GPS running at its interval and the stationary heartbeat never kicks in.
+
+:::
## Example Configurations