Cordless indicia readers may use a rechargeable energy storage unit (RESU) for power. The RESU may include either at least one lithium-ion battery or at least one super capacitor. Problems may arise when an RESU containing a lithium-ion battery is charged using a super-capacitor charging-scheme. The present invention embraces a system and method for charging a barcode scanner that includes determining the RESU type and then charging the RESU with a charging process that is appropriate for the RESU type.