Chosen Solution
My phone had stopped charging a few days ago unless the charger was adjusted just right. Now, even after getting it to say the phone is charging, there is no battery increase. I have tried several different box and wire combinations, but that did not work. The only time did it ever seem to charge is when the phone was slightly in use, but it then started to die again even while on the charger. The phone is dead now, and has not been able to get a charge in several hours.
When you plug the charger in does it go in as far as it used to do? It could be a case of dirt build up in the port stopping the charger seating properly. You wouldn’t believe how many customers I get asking for a new charge port when all it needs is a clean. I use a pair of fine pointed tweezers but I know where and not to poke. If it’s a type c you have to pay attention to each end as they often get missed. If you don’t want to have a go find a reputable shop to take a look for you. Good luck.