This paper proposes a dynamic multilevel queue scheduling algorithm for wireless networks that differentiates between real-time and non-real-time data packets to reduce energy consumption and enhance performance. The algorithm organizes packets into three priority levels to minimize average waiting time and end-to-end delay, outperforming conventional scheduling methods. Simulation results demonstrate the effectiveness of the proposed scheme over existing methods in terms of data transmission efficiency.