A dispenser (100, 130, 140) for dispensing charged battery units into a tank of an electrically powered apparatus and comprising: a dispensing container for accommodating a plurality of charged battery units; a conduit (107, 137, 147) having a first end coupled to the dispensing container and a second end adapted to be coupled to a tank to be filled; and characterized by a dispensing mechanism for selectively dispensing battery units to the tank through said conduit in essentially random order and orientation, the dispensing mechanism comprising: means for communicating individually with each battery unit dispensed to retrieve an identification code of the battery unit; a metering unit for monitoring and controlling the number and or state of battery units dispensed in order to transfer a user defined amount of energy to said electrically powered apparatus, said metering unit being configured to store the identification codes of the battery units dispensed; and an output unit (103, 143) between the dispensing container and the conduit, capable of allowing battery units to enter the conduit from the dispensing container, and comprising a diverter for removing faulty battery units, wherein the metering unit is functionally connected to the output unit for operating the output unit and controlling a dispensing process. a dispensing container for accommodating a plurality of charged battery units; a conduit (107, 137, 147) having a first end coupled to the dispensing container and a second end adapted to be coupled to a tank to be filled; and characterized by a dispensing mechanism for selectively dispensing battery units to the tank through said conduit in essentially random order and orientation, the dispensing mechanism comprising: means for communicating individually with each battery unit dispensed to retrieve an identification code of the battery unit; a metering unit for monitoring and controlling the number and or state of battery units dispensed in order to transfer a user defined amount of energy to said electrically powered apparatus, said metering unit being configured to store the identification codes of the battery units dispensed; and an output unit (103, 143) between the dispensing container and the conduit, capable of allowing battery units to enter the conduit from the dispensing container, and comprising a diverter for removing faulty battery units, wherein the metering unit is functionally connected to the output unit for operating the output unit and controlling a dispensing process. means for communicating individually with each battery unit dispensed to retrieve an identification code of the battery unit; a metering unit for monitoring and controlling the number and or state of battery units dispensed in order to transfer a user defined amount of energy to said electrically powered apparatus, said metering unit being configured to store the identification codes of the battery units dispensed; and an output unit (103, 143) between the dispensing container and the conduit, capable of allowing battery units to enter the conduit from the dispensing container, and comprising a diverter for removing faulty battery units, wherein the metering unit is functionally connected to the output unit for operating the output unit and controlling a dispensing process.