I am planning to power a DC motor continuously from the battery of a UPS power supply such that I will attach the DC motor directly to the battery of the UPS. The UPS will be plugged into the main power while the motor is running. I am hoping that the battery will continue to power the motor in a power outage if needed. Will this work? Is it going to kill the battery in a short time?