Battery-as-a-Service platforms support time-critical urban logistics but may experience secondary battery swapping (SBS), in which a rider swaps again within 30 min after an initial exchange. Predicting these events may help improve user–battery matching. We formulate SBS prediction as a dynamic edge-level risk estimation task on a user–battery bipartite graph and propose TEB-GNN, a temporal edge-enhanced bipartite graph neural network. The framework combines edge-enhanced spatial aggregation, temporal node memory, and city-conditioned embeddings within a shared representation space. Evaluation uses a real-world dataset comprising 14,370,133 interactions over 215 days. In the reported offline comparison, TEB-GNN attains an AUC of 80.19% and an AP of 34.91%, exceeding the evaluated baselines. Component ablations support the predictive contribution of spatial, temporal, and city-context modeling. Online A/B results report lower SBS rates under a TEB-GNN-based strategy in three cities. These findings support dynamic graph modeling for SBS risk estimation, while finer temporal resolution, feature-group attribution, and more complete reporting of cross-city and online evaluation remain necessary to strengthen the interpretation of the results.



