I have an AC wall charger for an JBL Bluetooth speaker. It has thiscylindrical thing inline in the cord, similar to what you see on some cords that I believe is supposed to reduce RF interference (required by FCC maybe?). But I haven’t seen this on any other wall charger.
Is that what this thing is? Or is it something else that is required for the charger to work properly? My son broke the wire right at the point where the plug comes out of this thing. I could patch the wire if I can remove the device.