Save the position when disconnected from a bluetooth device. There are two main option. Save only the last position: When your bluetooth device become disconnected the phone request the current position and save it.