If the inverter has two USB sockets, then try a dual USB adapter so you get double the amperage - a typical USB @ 5V / 0.5A is too little, especially if you use router’s USB port.