Electric bicycle, comprising: - an electric drive, - at least one first battery, - an electrical connection arrangement between the electric drive and the first battery, having a modular plug connection arrangement, wherein the modular plug connection arrangement has at least the following components: • a base plug connected to a first line, and • a first module plug having a plug and a socket, configured so as to receive a plug of a second module plug, • wherein a second line for connection to the first battery is provided on the first module plug, and • wherein a first plug connection is established between the first module plug and the base plug, and - a second battery and the second module plug, which is electrically connected to the second battery, wherein a second plug connection is established between the second module plug and the first module plug, wherein - the electrical connection arrangement has at least one electrical resistor component (13, 14), wherein the electrical resistor component (13, 14) is arranged in the module plug (61, 62), and - the electric bicycle comprises a control unit that is configured so as to record signals from the electrical resistor component (13, 14) and to execute a charging strategy for charging the battery (3, 4) or a discharging strategy for discharging the battery (3, 4) based on the signals from the electrical resistor component (13, 14), wherein the control unit is configured so as to determine a number of batteries and/or a type of batteries based on signals from the electrical resistor (13, 14). - an electric drive, - at least one first battery, - an electrical connection arrangement between the electric drive and the first battery, having a modular plug connection arrangement, wherein the modular plug connection arrangement has at least the following components: • a base plug connected to a first line, and • a first module plug having a plug and a socket, configured so as to receive a plug of a second module plug, • wherein a second line for connection to the first battery is provided on the first module plug, and • wherein a first plug connection is established between the first module plug and the base plug, and • a base plug connected to a first line, and • a first module plug having a plug and a socket, configured so as to receive a plug of a second module plug, • wherein a second line for connection to the first battery is provided on the first module plug, and • wherein a first plug connection is established between the first module plug and the base plug, and - a second battery and the second module plug, which is electrically connected to the second battery, wherein a second plug connection is established between the second module plug and the first module plug, wherein - the electrical connection arrangement has at least one electrical resistor component (13, 14), wherein the electrical resistor component (13, 14) is arranged in the module plug (61, 62), and - the electric bicycle comprises a control unit that is configured so as to record signals from the electrical resistor component (13, 14) and to execute a charging strategy for charging the battery (3, 4) or a discharging strategy for discharging the battery (3, 4) based on the signals from the electrical resistor component (13, 14), wherein the control unit is configured so as to determine a number of batteries and/or a type of batteries based on signals from the electrical resistor (13, 14).