The paper presents a real-time adaptive energy-scheduling (RTAES) algorithm designed to optimize energy consumption in virtualized cloud computing environments. It addresses critical challenges in managing power usage effectively, particularly through dynamic voltage and frequency scaling (DVFS) strategies while ensuring quality of service (QoS). The proposed model demonstrates improved energy efficiency, computational time, and system scalability compared to existing methods.