Make sure the power cord and adapter work.
Verify that the charger and power cord are not broken. If the cable has frayed wires, metal that can be seen, or burnt marks, it may be broken and needs to be replaced. If your power adapter is broken, your device might not get the power it needs. The problem might be fixed by just getting a new power adapter.
The best thing to do is buy an official power adapter for the device.
If an official charger is too expensive or no longer manufactured, a good universal charger can work just as well. However, not all universal chargers work the same or perform the same.
Different computers need different amounts of power. So, make sure that the power wattage of the new universal charger fits the power wattage of the old adapter that isn’t working.
We highly recommend the Targus brand for a universal power adapter. We have used Targus power adapters as a backup for years when customers forget to bring in their own for repairs. They are reliable, and the adapters work with all major laptop brands. They also last a long time. Here’s a link to the Targus power adapter we use:
Targus 90 Watt AC Laptop Charger with USB Fast Charging Port
We suggest Anker as a trusted brand for newer universal USB Type-C power adapters. Here is a link to their Amazon store where you can find all of their products: Anker Store