This paper discusses the working of buck-boost converter as power factor correction controller applicable for battery charging in electric vehicles application. This topology will work in buck mode and boost mode of operation reliant on the rectified voltage at input side and battery voltage at load side. This paper presents an informal and effective line frequency current shaping control arrangement used for achieving power factor nearer to unity. It also satisfies the harmonic compliance of source current in accordance to the IEEE519 recommendations. This objective is achieved by active power factor control circuit using continuous conduction mode (CCM) of buck-boost converter implementing adaptable duty cycle control scheme. The control is very simple and gives good performance. The performance of the control scheme is simulated for both open-loop and closed-loop control in Matlab/Simulink environment. © 2016 IEEE.