The agriculture sector has witnessed a transformation with the advent of smart sensing devices, leading to improved crop yield and quality. However, the management of data collection from numerous sensors across vast agricultural areas, as well as the associated charging requirements, presents significant challenges. This paper addresses the major research problem by proposing an innovative solution for charging agricultural sensors. The introduction of an energy-constrained device (ECD) enables wireless charging and transmission of soil data to a centralized server. The proposed ECDs will enable enhanced data collection, precision agriculture, optimized resource allocation, timely decision-making, and remote monitoring and control. A bidirectional wireless charging drone is employed to efficiently charge the ECDs. To optimize energy usage, a prioritized Dijkstra algorithm determines the ECDs to be charged and plans the shortest route for the drone. The wireless charging drone landing-charging station achieves an efficiency of 91.3%, delivering 72 W of power within a 5 mm range. Furthermore, the ECD possesses a data transmission range of 100 m and incorporates deep sleep functionality, allowing for a remarkable 30-day battery life.