This paper presents an energy-efficient approach using a genetic evolutionary algorithm to address coverage and connectivity in heterogeneous wireless sensor networks (WSNs). The proposed solution optimizes the sensing and transmission ranges of sensor nodes to save energy and prolong network lifetime, demonstrating improved performance through simulations against existing algorithms. Results indicate that the algorithm achieves higher coverage rates and total remaining energy compared to other methods.