The battery systems of electric vehicles (EVs) are directly impacted by battery temperature in terms of thermal runaway and failure. However, uncertainty about thermal runaway, dynamic conditions, and a dearth of high-quality data sets make modeling and predicting nonlinear multiscale electrochemical systems challenging. In this work, a novel Mamba network architecture called BMPTtery (Bidirectional Mamba Predictive Battery Temperature Representation) is proposed to overcome these challenges. First, a two-step hybrid model of trajectory piecewise–polynomial regression and exponentially weighted moving average is created and used to an operational dataset of EVs in order to handle the problem of noisy and incomplete time-series data. Each time series is then individually labeled to learn the representation and adaptive correlation of the multivariate series to capture battery performance variations in complex dynamic operating environments. Next, a prediction method with multiple steps based on the bidirectional Mamba is suggested. When combined with a failure diagnosis approach, this scheme can accurately detect heat failures due to excessive temperature, rapid temperature rise, and significant temperature differences. The experimental results demonstrate that the technique can accurately detect battery failures on a dataset of real operational EVs and predict the battery temperature one minute ahead of time with an MRE of 0.273%.