The document presents an energy-saving algorithm designed to extend the lifecycle of wireless sensor networks (WSNs) by employing a heterogeneous network of sensor nodes, with clustering strategies that leverage high-energy nodes as cluster heads. The proposed approach optimizes energy consumption by allowing low-energy nodes to go to sleep and ensuring that new cluster heads are activated as current ones deplete their energy. Simulation results indicate that this method significantly enhances network longevity compared to existing algorithms like LEACH.