Chosen Solution

AirPods battery working for only 2-5 minutes

@dhruv511_ either you got trouble with your charger or the batteries are depleted. See how many amps (requires USB Ammeter) the charging case draws. If that checks out okay you may have to consider replacing the batteries. Check the teardown on here AirPods 2 Teardown - iFixit and see if that is something you would want to tackle.