Apple pencil 2 stops charging suddenly overnight, even when docked
I've bought iPad air 4th generation and apple pencil 2 recently (less than 4 months) and they were both working fine, but since last month my apple pencil stops charging overnight even when left docked on the iPad. I made sure that I have left it correctly in the slot (by making sure that lightning symbol is there in the battery widget and pop up at the top of iPad screen as soon as you attach the pencil) before going to bed, but in the morning, when I check it it shows that the battery has gone down and also the lightning symbol was gone in the battery widget. When i slightly lift the pencil and leave it, it starts charging and goes on to become fully charged
I've tried restarting the ipad, unpairing and pairing the pencil, updating to the latest iOS, removing the iPad cover and then leaving it overnight, but nothing has worked
Have you guys also experienced this?
What do you guys suggest I do next?