Samarth97 Yes, you have to visit service centre and get it repaired, other than that there’s no option left. This is the reason I stopped buying electronic products from Flipkart. During Open Box delivery you can’t check if everything is working or not and hardware failure like charging port issue, battery issue and display issue can happen anytime. There should be a strong customer protection law in India like in the USA where every electronic products are eligible to return within 30 days.
I suggest you to buy Nothing products from Croma, if offline store is available in your area or you can consider buying it from Croma online, though once check the return policy before buying.