An integral battery charger with Power Factor Correction for electric scooter