You don't use the wifi hotspot and connect by USB. It's one or the other. The wifi hotspot will drain the phone battery. USB maybe best. With a Samusng it is done through the software on the PC/laptop not sure about the HTC.
Samsung Galaxy Note 7 review: An almost flawless smartphone, almost