bluetooth – Airpods pro immediately turn off when disconnected from power supply

I own a pair of airpods pro that have recently been exhibiting a lot of problems.

Problem 1:
When connected to a power supply, connected to my phone and near my phone, the airpods’ notification banner repeatedly pops up every 1-2 seconds until the airpods just disconnect on their own.

Problem 2:
When i remove them from a charger the light on the case immediately turns off (holding the button on the back does not do anything) and i cannot connect to them from any device.

Both of these problems occur when my airpods case has a full charge. Resetting the airpods does not fix them and ios is up to date on my phone.