Converter with energy harvesting battery charger