Newer rovers like curiosity are using radioisotope generators which should last a much longer time.
Reply on news.ycombinator.com