Define "doesn't work" better.
IF it is a 12 V to USB charger get something like this:
Robot Check
That lets you monitor the current and voltage going to the load you are charging. Power converters all have a current limit. Some just die if overloaded, some shut down. Either way it is a good bet that you are overloading something if it keeps failing.