If there is a problem with capacitance then this won’t help, but if it might just be dirty then power it down and clean the charging port with a can of 99.99% compressed alcohol electronics cleaner, then use a can of air duster, repeat a couple of times. Afterwards, press the case firmly to ensure it’s still held together. Leave to dry completely before trying again.
If you want a sketchy but simple solution you can use the back of a sewing needle to poke the stuff out of the port. Be careful tho, you can very easily break the port.
If there is a problem with capacitance then this won’t help, but if it might just be dirty then power it down and clean the charging port with a can of 99.99% compressed alcohol electronics cleaner, then use a can of air duster, repeat a couple of times. Afterwards, press the case firmly to ensure it’s still held together. Leave to dry completely before trying again.
If you want a sketchy but simple solution you can use the back of a sewing needle to poke the stuff out of the port. Be careful tho, you can very easily break the port.
Toothpick. Wood only. Never do this with metal.
This is the way