Former India captain MS Dhoni was seen accompanying Jharkhand Chief Minister Hemant Soren in inaugurating a solar power system at the JSCA Stadium in Ranchi on Wednesday.

Dhoni and Soren inaugurated the solar power system, a state-of-the-art gymnasium, C3 Fitness Club, and The Uptown Cafe at the Jharkhand Cricket Association Stadium complex where the two also tried their hand at whistling with leaves.

They both tried out some dishes and had coffee at the new restaurant as well. A few budding cricketing talents were also present during the event.

The pictures of Dhoni and Soren at the function went viral on social media as the duo tried to whistling using spring onion leaves.

Dhoni also congratulated the Chief Minister "for his outstanding performance in the elections".

"I hope the glory of the state spreads not only in the country but also to the entire world under his able leadership. I would like to tell the players to practise properly. Play Ranji matches and also represent India," Dhoni was quoted as saying.

"I am happy today to get the opportunity to inaugurate the facilities as chief minister. The foundation of the stadium was laid by Guruji (father Shibu Soren). This stadium is an example of the result of the work started by Guruji. On this occasion, I promise you to develop the state in the same way," Jharkhand CM Hemant Soren said.

Dhoni has been absent from the national team since India's exit from the 50-over World Cup in England last year.

His plans to comeback in the national set up remains unclear although he has begun training with the Jharkhand Ranji team.

He was recently left out of the annual central contracts list by the Board of Control for Cricket in India (BCCI) since he hasn't played for the Indian team since July, 2019.

India head coach Ravi Shastri had said a call on Dhoni would be taken after the Indian Premier League where he will lead Chennai Super Kings.

Several experts though, feel Dhoni's time is up but the ace wicketkeeper-batsman's future will remain a mystery until he himself breaks his silence on the matter.