Yes, this is the most convenient way. Another option is the advanced-power-monitor. This applet has a menu that allows you to turn the USB host mode on and off.