It just started turning off St a set time. I can change the time , but cannot turn off the function to stop it from turning off.
From Home screen or App screen, tap on Settings -> Device -> USB Power Saving -> Automatic Power OFF, disable this.