I am trying to gather Battery stats for my app. After running all the commands specified on http://developer.android.com/tools/performance/batterystats-battery-historian/index.html
The txt file generated has the data of app battery. But using battery.py script to convert to HTML file. Opening Html file shows blank html page only containing the text "Cannot find endtime" instead of piecharts.