An AC adapter or AC/DC adapter is a type of external power supply, often enclosed in a case similar to an AC plug. Other common names include wall wart, power brick, wall charger, and power adapter. Adapters for battery-powered equipment may be described as chargers or rechargers (see also battery charger). AC adapters are used with electrical devices that require power but do not contain internal components to derive the required voltage and power from mains power. The internal circuitry of an external power supply is very similar to the design that would be used for a built-in or internal supply. External power supplies are used both with equipment with no other source of power and with battery-powered equipment, where the supply, when plugged in, can sometimes charge the battery in addition to powering the equipment. Use of an external power supply allows portability of equipment powered either by mains or battery without the added bulk of internal power components, and makes it unnecessary to produce equipment for use only with a specified power source; the same device can be powered from 120 VAC or 230 VAC mains, vehicle or aircraft battery by using a different adapter. Another advantage of these designs can be increased safety; since the hazardous 120 or 240 volt mains power is transformed to a lower, safer voltage at the wall outlet and the appliance that is handled by the user is powered by this lower voltage. Modes of operation Originally, most AC/DC adapters were linear power supplies, containing a transformer to convert the mains electricity voltage to a lower voltage, a rectifier to convert it to pulsating DC, and a filter to smooth the pulsating waveform to DC, with residual ripple variations small enough to leave the powered device unaffected. Size and weight of the device was largely determined by the transformer, which in turn was determined by the power output and mains frequency. Ratings over a few watts made the devices too large and heavy to be physically supported by a wall outlet. The output voltage of these adapters varied with load; for equipment requiring a more stable voltage, linear voltage regulator circuitry was added. Losses in the transformer and the linear regulator were considerable; efficiency was relatively low, and significant power dissipated as heat even when not driving a load. Early in the twenty-first century, switched-mode power supplies (SMPSs) became almost ubiquitous for