The AirPods case is the only way to charge AirPods 1st, 2nd, 3rd generation, and AirPods Pro. If your AirPods charging case itself is having battery issues and isn't charging, here are some solutions to fix it.
This tutorial applies to both wireless charging and non-wireless charging AirPods cases.