added graph that displays statistics for battery percentage thru time