A construction machine, such as a loader vehicle, said construction machine comprising: - a work attachment connection arrangement (3, 11a, 15a, 16a) configured to operationally connect to the construction machine a work attachment provided with a work tool, such as a sweeper/rotary broom, a snow blower or a bucket; - a control system (10, 11) configured to control the operation of the construction machine and to, when the work attachment is connected to the construction machine via the work attachment connection arrangement, control the operation of the work attachment, the construction machine further comprises: - at least a first electric motor configured for operation of the construction machine, wherein the first electric motor is configured for propulsion of the construction machine - a first rechargeable battery configured to supply the first electric motor with electric power; - an electric power circuit connecting the first electric motor and the first rechargeable battery, characterized in that the work attachment connection arrangement comprises a first electrical connector connected to the electric power circuit of the construction machine, wherein the first electric connector is configured to be connected to a corresponding electrical connector arranged on the work attachment, wherein the corresponding electrical connector is connected to an auxiliary rechargeable battery arranged on the work attachment, so as to allow electric connection of the auxiliary rechargeable battery to the electric power circuit of the construction machine to power the construction machine when the work attachment is connected to the construction machine via the work attachment connection arrangement. - a work attachment connection arrangement (3, 11a, 15a, 16a) configured to operationally connect to the construction machine a work attachment provided with a work tool, such as a sweeper/rotary broom, a snow blower or a bucket; - a control system (10, 11) configured to control the operation of the construction machine and to, when the work attachment is connected to the construction machine via the work attachment connection arrangement, control the operation of the work attachment, the construction machine further comprises: - at least a first electric motor configured for operation of the construction machine, wherein the first electric motor is configured for propulsion of the construction machine - a first rechargeable battery configured to supply the first electric motor with electric power; - an electric power circuit connecting the first electric motor and the first rechargeable battery, - at least a first electric motor configured for operation of the construction machine, wherein the first electric motor is configured for propulsion of the construction machine - a first rechargeable battery configured to supply the first electric motor with electric power; - an electric power circuit connecting the first electric motor and the first rechargeable battery, characterized in that the work attachment connection arrangement comprises a first electrical connector connected to the electric power circuit of the construction machine, wherein the first electric connector is configured to be connected to a corresponding electrical connector arranged on the work attachment, wherein the corresponding electrical connector is connected to an auxiliary rechargeable battery arranged on the work attachment, so as to allow electric connection of the auxiliary rechargeable battery to the electric power circuit of the construction machine to power the construction machine when the work attachment is connected to the construction machine via the work attachment connection arrangement.