Built-in thermal overload protector