Method for managing the traction and/or braking of the electric motors (1, 2) applied to the wheels of at least one axle of a trailer suitable for being towed by a motor vehicle in connection with the energy state of traction batteries for said electric motors (1, 2), said trailer comprising: - at least one loading cell suitable for measuring the traction or thrust force exerted on the trailer; - at least a group of traction batteries; - an electronic regulator able to regulate the charging and the power supply of said group of traction batteries and to regulate the power supply to said motors (1, 2); said managing method comprising the following steps: - controlling the independent activation of the motors (1, 2) providing traction torque or braking torque in order to minimize said traction or thrust force; - controlling the management of the energy state of the batteries, in case of traction torque, by regulating the power supply to said motors (1, 2) from at least said batteries; in case of braking torque, by regulating the power supply of said braking torque and the recharging of said batteries by means of said motors, - checking of the vehicle's speed and of the delivered force measured by the loading cell: • if said speed or said delivered force is equal to zero allowing only the recharging of said group of traction batteries; • if said speed is different than zero, and if said force is lower than zero, activating said motors (1, 2) to provide said traction torque; • if said speed is different than zero, and if said force is greater than zero, activating said motors (1, 2) to provide said braking torque; wherein, in case of traction torque, said method comprises a control of the charging level of the batteries referred to a number of thresholds of charging percentage, in order to determine the percentage of the power supplied by the batteries with respect to the value required for generating the torque required to the motors. - at least one loading cell suitable for measuring the traction or thrust force exerted on the trailer; - at least a group of traction batteries; - an electronic regulator able to regulate the charging and the power supply of said group of traction batteries and to regulate the power supply to said motors (1, 2); said managing method comprising the following steps: - controlling the independent activation of the motors (1, 2) providing traction torque or braking torque in order to minimize said traction or thrust force; - controlling the management of the energy state of the batteries, in case of traction torque, by regulating the power supply to said motors (1, 2) from at least said batteries; in case of braking torque, by regulating the power supply of said braking torque and the recharging of said batteries by means of said motors, - checking of the vehicle's speed and of the delivered force measured by the loading cell: • if said speed or said delivered force is equal to zero allowing only the recharging of said group of traction batteries; • if said speed is different than zero, and if said force is lower than zero, activating said motors (1, 2) to provide said traction torque; • if said speed is different than zero, and if said force is greater than zero, activating said motors (1, 2) to provide said braking torque; wherein, in case of traction torque, said method comprises a control of the charging level of the batteries referred to a number of thresholds of charging percentage, in order to determine the percentage of the power supplied by the batteries with respect to the value required for generating the torque required to the motors. • if said speed or said delivered force is equal to zero allowing only the recharging of said group of traction batteries; • if said speed is different than zero, and if said force is lower than zero, activating said motors (1, 2) to provide said traction torque; • if said speed is different than zero, and if said force is greater than zero, activating said motors (1, 2) to provide said braking torque;