If you've got a pair of Apple AirPods, they're going to die - likely sooner rather than later.
With mine, the battery lasted a little over two years. And when it could no longer hold a charge, I had to toss it out and buy new AirPods, because the dead battery is glued inside.