Text this: Development of a high performance batteries charger with low THD, high power factor, and high efficiency