Resources are the most critical input in the manufacturing industry therefore, resource consumption is an essential issue to be minimized. On the other hand, consumption depends on several parameters thus, it is difficult to estimate. Recently, Machine Learning (ML) and Deep Learning (DL) are powerful Artificial Intelligence (AI) subdomains for future prediction in any area. In this paper, a DL-supported electricity prediction method is designed for the textile industry as a case study in order to prevent resource over-consumption while the machines are in the standby state. This method provides dynamic consumption thresholds of electricity consumption by sliding window technique based Long-Short Term Memory (LSTM) model that helps the machines to interrupt manufacturing in their decision. These calculated thresholds are also compared with the results of Recurrent Neural Networks (RNN) and Gated Recurrent Units (GRU) as the other DL methods and Automated Regressive Integrated Moving Average (ARIMA) as a traditional method and then the results have been analyzed how close they are to real-time electricity consumption data at standby. According to the results, the LSTM model successfully predicts electricity consumption levels, sends an interrupt signal to Programmable Logic Controller (PLC) unit when the consumption levels reach the threshold and therefore prevents resource over-consumption.