If you can charge the headset, the battery of the box is bad and cannot be charged; If the earphone battery dies, the box's battery can be recharged; It's all because of the bad battery. We have to replace it.
Change a charging cable, change the computer USB port output electricity, jack plug contact is good, try not to solve it.
A single charge gives you up to 5 hours of listening or 2 hours of talking on your AirPods.