long remainingServiceTime = 0;
@Nullable
DefaultParcel destination = null;
if (!isIdle) {
final VehicleParcelActionInfo vpai = pm.getVehicleActionInfo(vehicle);
destination = ((DefaultParcel) vpai.getParcel());
remainingServiceTime = vpai.timeNeeded();
} else if (!rm.isVehicleDiversionAllowed()) {
// check whether the vehicle is already underway to parcel
destination = rm.getDestinationToParcel(vehicle);
}