There are several methods to fix the broken charger. You can confirm that the charger is broken. You can try the steps starting from the wall socket to the software update. Generally, we will be testing the power socket, USB cable, and adapter for fixing the broken charger.