Idk about replacing battery, but I've got 15%(around 3000rs) off buying new through sony when they couldn't replace or repair my headphones. If they're in warranty you should go to the service center.
I've seen videos of people replacing their Airpods batteries in the local market though, maybe...