01
First, try unplugging and re-plugging the charger to ensure it's not a loose
connection. Then, please inspect the metal parts of the charger's interface for dirt
or debris. Clean it and see if it charges normally.
02
You can also use a different phone and charger that you know work correctly, and
swap chargers and cables to identify if the issue lies with the original charger,
cable, or phone.