battery cleanup