Battery models for battery powered applications: A comparative study