This invention relates to a device which may be used to supply power to a load or to recharge a battery, and more particularly to a device which may be selectively used to supply power from a power supply to a load, or to supply power from a battery to a load, or to recharge a battery while controlling the charging rate.