The problem of energy optimization for Internet of Things (IoT) devices is crucial for two reasons. Firstly, IoT devices powered by renewable energy sources have limited energy resources. Secondly, the aggregate energy requirement for these small and low-powered devices is translated into significant energy consumption. Existing works show that a significant portion of an IoT device’s energy is consumed by the radio sub-system. With the emerging sixth generation (6G), energy efficiency is a major design criterion for significantly increasing the IoT network’s performance. To solve this issue, this paper focuses on maximizing the energy efficiency of the radio sub-system. In wireless communications, the channel plays a major role in determining energy requirements. Therefore, a mixed-integer nonlinear programming problem is formulated to jointly optimize power allocation, sub-channel allocation, user selection, and the activated remote radio units (RRUs) in a combinatorial approach according to the channel conditions. Although it is an NP-hard problem, the optimization problem is solved through fractional programming properties, converting it into an equivalent tractable and parametric form. The resulting problem is then solved optimally by using the Lagrangian decomposition method and an improved Kuhn–Munkres algorithm. The results show that the proposed technique significantly improves the energy efficiency of IoT systems as compared to the state-of-the-art work.