Issue: Device appears Online on Traccar Server when Continuous Tracking is OFF and no valid location has been sent
We have noticed a behavior in the Traccar Client Android app that is creating confusion for users and administrators.
Current Behavior
If the mobile phone has an active internet connection and the user simply opens/runs the Traccar Client application, the device can appear as Online on the Traccar Server.
This happens even when:
- Continuous Tracking / Location Tracking is OFF
- The client is not actively submitting GPS positions
- No new valid latitude/longitude position has been received by the server
- No new location appears on the map
As a result, the Traccar web/server interface may show the device as Online, but there is no corresponding new position on the map.
Example
A user has:
- Internet connection: ON
- Traccar Client app: Running/Open
- Continuous Tracking: OFF
- GPS position submission: Not running
The Traccar server still shows the device as Online.
The administrator therefore sees the user as Online and expects to receive the user's current location.
However, no new location is actually being submitted.
This creates a confusing situation where the user says:
"My device is showing Online on your tracking system, so the application is working."
But from the administrator's side, no position is being received and nothing new is appearing on the map.
Expected Behavior
In my opinion, the device should only become Online after the Traccar Server receives the first proper/valid location record from the client while tracking is active.
If Continuous Tracking is OFF and the client has not submitted a valid location, the device should remain:
Offline
Opening the application or establishing an internet/network connection alone should not mark the device as Online.
The expected flow should ideally be:
Continuous Tracking OFF
→ No GPS/location submission
→ Device remains Offline
Continuous Tracking ON
→ Client obtains a valid GPS location
→ First valid position is submitted to the server
→ Device becomes Online
Then, if the server stops receiving positions according to the configured timeout, the device can return to Offline as usual.
Why This Is Important
For a tracking system, administrators generally interpret Online as meaning that the tracking device is actively connected and capable of providing current location data.
If the application shows the device as Online merely because the app has network connectivity, while tracking itself is disabled, the status can be misleading.
This is particularly important in field staff tracking environments where an administrator needs to know whether an employee is actually being tracked.
For example:
- Employee disables Continuous Tracking
- Internet remains connected
- Traccar Client remains open/running
- Server shows employee as Online
- No positions are received
- Employee claims that the system shows them Online, therefore tracking must be working
From an operational point of view, Online without active location reporting is not the same as actively tracking.
Suggested Improvement
It would be better if the Online status were triggered only after receiving an actual valid position/location packet from the client.
Alternatively, if Traccar needs to keep the current connection-based Online status, it may be useful to distinguish the two states, for example:
- Online / Tracking
- Online / Not Tracking
- Offline
However, the simplest behavior would be:
Do not mark the device Online until at least one valid location has been received after tracking is started.
Steps to Reproduce
- Configure Traccar Client with a valid server URL and device identifier.
- Make sure the Android phone has an active internet connection.
- Keep Continuous Tracking / Tracking Service OFF.
- Open/run the Traccar Client application.
- Check the device status on the Traccar Server.
- The device may appear Online.
- Check the map/positions.
- No new GPS location has been submitted.
Environment
- Traccar Server: 6.x
- Client: Traccar Client for Android
- Android devices: Multiple models tested
- Internet: Wi-Fi / Mobile Data
- Continuous Tracking: OFF during the test
Could you please confirm whether this is the intended behavior?
If this is expected because the client sends some type of connection/status/heartbeat message even when location tracking is disabled, I would suggest reconsidering how the server determines Online status, because from the administrator's perspective it gives the impression that the device is actively tracking even though no location is being submitted.
Issue: Device appears Online on Traccar Server when Continuous Tracking is OFF and no valid location has been sent
We have noticed a behavior in the Traccar Client Android app that is creating confusion for users and administrators.
Current Behavior
If the mobile phone has an active internet connection and the user simply opens/runs the Traccar Client application, the device can appear as Online on the Traccar Server.
This happens even when:
As a result, the Traccar web/server interface may show the device as Online, but there is no corresponding new position on the map.
Example
A user has:
The Traccar server still shows the device as Online.
The administrator therefore sees the user as Online and expects to receive the user's current location.
However, no new location is actually being submitted.
This creates a confusing situation where the user says:
But from the administrator's side, no position is being received and nothing new is appearing on the map.
Expected Behavior
In my opinion, the device should only become Online after the Traccar Server receives the first proper/valid location record from the client while tracking is active.
If Continuous Tracking is OFF and the client has not submitted a valid location, the device should remain:
Offline
Opening the application or establishing an internet/network connection alone should not mark the device as Online.
The expected flow should ideally be:
Continuous Tracking OFF
→ No GPS/location submission
→ Device remains Offline
Continuous Tracking ON
→ Client obtains a valid GPS location
→ First valid position is submitted to the server
→ Device becomes Online
Then, if the server stops receiving positions according to the configured timeout, the device can return to Offline as usual.
Why This Is Important
For a tracking system, administrators generally interpret Online as meaning that the tracking device is actively connected and capable of providing current location data.
If the application shows the device as Online merely because the app has network connectivity, while tracking itself is disabled, the status can be misleading.
This is particularly important in field staff tracking environments where an administrator needs to know whether an employee is actually being tracked.
For example:
From an operational point of view, Online without active location reporting is not the same as actively tracking.
Suggested Improvement
It would be better if the Online status were triggered only after receiving an actual valid position/location packet from the client.
Alternatively, if Traccar needs to keep the current connection-based Online status, it may be useful to distinguish the two states, for example:
However, the simplest behavior would be:
Do not mark the device Online until at least one valid location has been received after tracking is started.
Steps to Reproduce
Environment
Could you please confirm whether this is the intended behavior?
If this is expected because the client sends some type of connection/status/heartbeat message even when location tracking is disabled, I would suggest reconsidering how the server determines Online status, because from the administrator's perspective it gives the impression that the device is actively tracking even though no location is being submitted.