Lucas di Grassi wins Mexico E Prix as race leader's battery dies on the line

Lucas Di Grassi celebrates his victory on the podium.

(CNN)Lucas di Grassi won a thrilling Mexico E Prix, pipping race leader Pascal Wehrlein as his battery died on the line.