A motor device for building closure means and/or solar shading means such as rolling or hinged shutters, sunshades, blinds, awnings, or the like, comprising: - a casing for housing an electric motor powered by at least one electric battery ; - said battery for powering said motor comprising connection means for connecting to recharging means of said battery , characterized in that said motor device comprises, housed in said casing : * a heating resistor connected to said recharging means as a bypass, and * control electronics associated with a temperature sensor and means for measuring the charge level of the battery configured to indicate that the remaining autonomy of the battery is close to a given setpoint, * the control electronics being configured to manage the power supply to the heating resistor and to the battery by said recharging means such that, before initiating the recharging of said battery following the detection of a charge level lower than the given setpoint and if the temperature detected within said casing by said sensor is lower than the functional recharging temperature of said battery , said control electronics are configured to activate the power supply of said heating resistor until the temperature detected within said casing is equal to or greater than said functional recharging temperature. - a casing for housing an electric motor powered by at least one electric battery ; - said battery for powering said motor comprising connection means for connecting to recharging means of said battery , characterized in that said motor device comprises, housed in said casing : * a heating resistor connected to said recharging means as a bypass, and * control electronics associated with a temperature sensor and means for measuring the charge level of the battery configured to indicate that the remaining autonomy of the battery is close to a given setpoint, * the control electronics being configured to manage the power supply to the heating resistor and to the battery by said recharging means such that, before initiating the recharging of said battery following the detection of a charge level lower than the given setpoint and if the temperature detected within said casing by said sensor is lower than the functional recharging temperature of said battery , said control electronics are configured to activate the power supply of said heating resistor until the temperature detected within said casing is equal to or greater than said functional recharging temperature. * a heating resistor connected to said recharging means as a bypass, and * control electronics associated with a temperature sensor and means for measuring the charge level of the battery configured to indicate that the remaining autonomy of the battery is close to a given setpoint, * the control electronics being configured to manage the power supply to the heating resistor and to the battery by said recharging means such that, before initiating the recharging of said battery following the detection of a charge level lower than the given setpoint and if the temperature detected within said casing by said sensor is lower than the functional recharging temperature of said battery , said control electronics are configured to activate the power supply of said heating resistor until the temperature detected within said casing is equal to or greater than said functional recharging temperature. <EOS>