Please or Register to create posts and topics.

why the P10 Pro occasionally creates 0-byte track files even though the device was in use?

During normal use, my P10 Pro occasionally creates a track file with the correct date, but the file size is 0 bytes.

Under what circumstances does the P10 Pro create a 0-byte track file? Is this expected behavior, or does it indicate a problem?

Attached is my config.txt file.

Based on the customer’s configuration file, there are two settings worth noting:

  • FunctionButton=Pause
  • SpeedMask=1

These settings could explain why a track file is created with a filename but contains no data.

1.

SpeedMask=1

With SpeedMask=1, the P10 Pro only records track points when the speed exceeds 1 km/h.

If the user powers on the device in an open area and obtains a GPS fix while remaining stationary, no track points will be recorded because the speed never exceeds 1 km/h. However, the device has already created the track file. If the user then powers off the device or starts a new track by holding the POI button, the result is a 0-byte track file. This is expected behavior.

Recommendation: Set SpeedMask=OFF.

With SpeedMask disabled, the P10 Pro will record at 1 Hz even when the device is stationary, preventing empty track files from being created.

2.

FunctionButton=Pause

If the user accidentally presses the side button after the GPS has acquired a position, recording will be paused. Although the device may continue moving, no track points will be logged.

Recommendation: Set FunctionButton=POI.

With this setting, accidentally pressing the side button will simply create a POI at the current location instead of pausing track recording, preventing empty track files caused by an unintended pause.