If your PS4 controller won't charge, you can try swapping out the charging cable or checking the charging port.
The sturdiness and build quality of the PS4 DualShock 4 controller cannot be overstated, but if you’ve been clinging on to the original controller for a while, it might be showing its age.