A device and method for rated voltage detection and charging of electric batteries. The method comprises the steps of measuring a terminal voltage of the battery having first or second rated voltages, comparing the terminal voltage to a number of threshold voltages between a minimum threshold voltage and a maximum threshold voltage, determining a condition of the battery, which can be ready to charge or fault, based on a comparison of the terminal voltage to the threshold voltages, determining that the rated voltage of the electric battery is the second rated voltage if the determined condition of the electric battery is ready to charge, conducting a pre-charge process if the determined condition of the battery is neither ready to charge nor fault, determining the rated voltage of the electric battery based on a response to the pre-charge process, and charging the electric battery according to the determined rated voltage.