feat: battery graph generating function added