Field effect transistor in battery pack