add battery capacity definition