Automatic glue removal for new energy batteries