Device-to-Device (D2D) communications underlaying Unmanned aerial vehicle (UAV) with its mobility extend the coverage and improve the data rate. In this paper, we propose an energy management scheme for wireless powered D2D users with NOMA underlaying full-duplex (FD) UAV. Here, the cellular transmitters (CTs) and D2D transmitters (DDTs) first harvest energy from the radio frequency (RF) signals of the UAV. Then, the CT communicates with the cellular receivers (CRs) using the FD-UAV as a relay. On the other hand, DDT communicates with its two D2D receivers (DDRs) using the NOMA. We formulate the problem as a mixed-integer non-linear programming (MINLP) form and then divide it into two sub-problems. In the first sub-problem, an optimal value of time allocation for energy harvesting (EH) for DMG is estimated, whereas, in the second subproblem, the power of DDT in each DMG is optimized using the variable changing technique. Finally, the joint time allocation and power control scheme is proposed to achieve the maximum energy-efficiency (EE). Numerical results demonstrated that the proposed scheme achieves better results as compared to the existing conventional NOMA and orthogonal multiple access (OMA) schemes.