Heterogeneous networks are rapidly emerging as one of the key enablers of beyond fifth-generation (5G) wireless networks. It is gradually becoming clear to the network operators that existing cellular networks may not be able to support the traffic demands of the future. Thus, there is an upsurge in the interest of efficiently deploying small-cell networks for accommodating a growing number of user equipment (UEs). This work further extends the state-of-the-art by proposing an optimization framework for reducing the power consumption of small-cell base stations (BSs). Specifically, a novel algorithm has been proposed which dynamically switches off the redundant small-cell BSs based on the traffic demands of the network. Due to the dynamicity of the formulated problem, a new UE admission control policy has been presented when the problem becomes infeasible to solve. To validate the effectiveness of the proposed solution, the simulation results are compared with conventional techniques. It is shown that the proposed power control solution outperforms the conventional approaches both in terms of accommodating more UEs and reducing power consumption.