Battery automatic coating