SANDEEPPAUL Bro its due to software updates,
After purchasing you have Installed updates in your nothing phone 2a due to which this problem is occurring and it will be solved automatically when your phone will be fully optimised with the new ota update second the charging temperature exceeds then your phone will charge very slow.
So please wait for some days this will be solved. And if any problem remains please talk to nothing customer care.