"Hey Siri" without being plugged in will only work when the iPhone is in Carplay mode. Until now you need to plug the iPhone in order to use Carplay.
On a different note, if you want to use Hey Siri without being plugged in, in normal mode, you have to let the Siri interface stay onscreen. That way it's always listening.