Maybe is not a problem of your soundbar, the tv has to connect automatically to the external sound system, check the settings of your TV and check the sound output selection.
I connect the Samsung HW-m360 via Bluetooth. Every time I turn off the TV, the soundbar loses the connection as well. It says BT disconnected and BT ready. How do I make the soundbar remember the TV connection ( I use only one device that is TV to connect to the soundbar)? So I don't have to manually connect to the TV every time I turn on the TV.