The policeman, identified as Hanuman Sahay, was taken to a hospital where he died, they added.
The police van, with which he was attached, was out of order and it was taken by staff to Old Police Lines for repair, police said.
It was found that he was under depression for the last four-five years and was undergoing treatment at the Ram Manohar Lohia Hospital, they said.
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.