Chosen Solution

ipad 4 won’t charge above 2%, tried different cords,chargers, replacing the dock,battery,restoring in dfu,recovery mode,nothing.

Okay try the following. Make sure the logic board is screwed down correctly especially the screw above the iPad battery. If this does not fix the problem then try another battery (yes batteries new are very common to be faulty). Check your charger and try different chargers (which I am sure you have) Now if this does not fix the problem I would assume that it is the PMIC (Power Management IC) very common for this to go on ipads and the only solution is soldering so you will need to find a specialist for this you can do it.