I have an LED light that came with no power supply, only a USB-A connection for power. I had it connected to a wall wart, then this morning i noticed it was noticably dimmer than usual. So i plugged it into my Anker charger and it was bright again.
So i am looking for another wall wart, but is one that is a charger fine? Or do I need to seek out one for power?
Edit fixed the title
Led lights need constant current with a limit on the max output power. Chargers output a constant voltage. Too high of a voltage can be damaging to leds and if they get too much current they burn out quickly. So there is a difference between for example a phone charger and a proper led power supply. Also modern phone chargers communicate with the phone to deliver the right amount of power and often will fall back to a very low amount when a “dumb” device is connected.
That said, the led light might have a power supply or power converter builtin. In that case you can supply just about anything with enough power into the input and it will be fine.
If the light wasn’t expensive and a random charger works, just connect a random charger. It probably isn’t worth looking for the perfect power supply.