Adapter with a wide-range power supply