Added Battery class.