TV & streaming
Nine times out of ten, the culprit is the sleep timer — a feature for people who fall asleep with the TV on. If it is on by accident, the TV shuts off mid-show, which is maddening.
On a Roku TV: press Home (the little house), go to Settings, then System, then Time, then Sleep timer. If it says anything but Off — 30 minutes, 1 hour — change it to Off. Problem solved.
Shortcut: while watching anything, press the star button (the asterisk). If Sleep timer appears in that little menu, turn it off right there.
On a Samsung TV: press Home, go to Settings, then General & Privacy (on older sets this menu is just called General), then System Manager, then Time, then Sleep Timer — and set it to Off. While you are in that same Time menu, check the Off Timer too: that one turns the TV off at a set clock time on chosen days, and if somebody set it once and forgot, it imitates this exact problem. Turn it off as well, unless you set it on purpose.
On an LG TV: press the gear (Settings), then All Settings, then General, then System, then Time & Timer, then Timers, and set Sleep Timer to Off. That same Timers area holds its own power-off choices — an Off Timer that fires at a clock time, and on many models an Auto Power Off that acts after hours with no button pressed. If your set only ever dies during long, untouched viewing, those are suspects too: switch them off and see.
On a Sony TV (Google TV or Android TV): press the Quick Settings button on the remote (the gear or wrench picture) and look under Timers for Sleep Timer; on some models it lives at Settings, then System, then Timers. Set it to Off. Then go to Settings, then System, then Power and energy, and look for Idle TV power off or Auto shut-off — Sony’s versions of switching off when nobody seems to be watching.
Timer already Off but the TV still shuts down? Two suspects: the energy-saving or eco mode (look in Settings, then System, then Power on a Roku TV; on a Samsung it is Eco Solution, under General, and its Auto Power Off choice; on an LG, the Energy Saving and Auto Power Off choices; on a Sony, Power and energy), or another gadget telling the TV to turn off through a feature called HDMI-CEC. That feature wears a different name on every shelf: Anynet+ on Samsung, SIMPLINK on LG, BRAVIA Sync on Sony. The honest test is to switch it off for a day — on a Samsung: Settings, then General, then External Device Manager, then Anynet+; on an LG: Settings, then General, then Devices, then HDMI Settings, then SIMPLINK; on a Sony: Settings, then Channels & Inputs, then External inputs, then BRAVIA Sync settings. If the shutdowns stop, CEC was your culprit — and I cover that one in the question below about the remote doing things you did not ask for. One more quiet possibility, on any brand: if the TV only dies while a cable box or player is on, the box may be falling asleep, and some TVs switch themselves off when the picture goes quiet — wake the box, and look in the TV’s power settings for a “no signal” power-off to switch off.