In recent years, the explosion of wireless data traffic has resulted in a trend of a large scale dense deployment of small cells, with which the rising cost of energy has attracted a lot of research interest. In this paper, we present a novel sleeping mechanism for small cells to decrease the energy consumption of heterogeneous networks (HetNets). Specifically, in the celledge area of a macrocell, small cells will be put into sleep where possible and their service areas will be covered by rangeexpanded small cells nearby and the macrocell; in areas close to the macrocell, User equipments (UEs) associated with a sleeping small cell will be handed over to the macrocell. Furthermore, we use enhanced inter-cell interference coordination (eICIC) techniques to support range expanded small cells to avoid QoS degradation. Using a stochastic geometry based network model, we provide the numerical analysis of the proposed approach, and the results indicate that the proposed sleeping mechanism can significantly reduce the power consumption of the network compared with the existing sleeping methods while guaranteeing the QoS requirement.