State-of-charge (SOC) is a crucial battery quantity that needs constant monitoring to ensure cell longevity and safe operation. However, SOC is not an observable quantity and cannot be practically measured outside of laboratory environments. Hence, machine learning (ML) has been employed to map correlated observable signals such as voltage, current and temperature to SOC values. In recent studies, deep learning (DL) has been a prominent ML approach outperforming many existing methods for SOC estimation. However, yielding optimal performance from DL models relies heavily on appropriate selection of hyperparameters. At present, researchers relied on established heuristics to select hyperparameters through manual tuning or exhaustive search methods such as grid search (GS) and random search (RS). This results in lengthy development time in addition to less accurate and inefficient models. This study proposes a systematic and automated approach to hyperparameter selection with a Bayesian optimization strategy known as Tree Parzen Estimator (TPE). The TPE optimization is run on various DL models such as BGRU, GRU, LSTM, CNN, FCN and DNN to optimize for the best hyperparameter combination for each architecture. The proposed model BGRU- TPE achieves the lowest RMSE and MAE error at 0.8% and 0.56% respectively on various electric vehicle drive cycles at varying ambient temperatures and maintains a low computational cost at 15, 600 FLOPS with model size of 193.3 kilobytes.