The absolute worst possible time for system and game updates is when I am booting up the device or starting a game.
My Fedora and Windows OSs both give you a "update and shut down" option. This is the best time to do updates.
When Steam is a desktop program, it obviously is not involved in the OS and not aware when you are shutting down but when Steam IS the OS? Seems like a fairly obvious inclusion.
Now obviously there can be additional mandatory updates between startups, but this would at least help to minimize those.
Why is this not standard? Is this something the community could develop? Maybe via plug-in?
Totally agreed, this is one of the most annoying things left about Steam and especially the Deck.
It's usually not too bad since you can pause downloads. But if the game you want to play has multiple GB of patches to download you could be stuck waiting a while.
Playstation, Xbox and Switch all download and install updates during sleep mode. Deck should be able to do that as well. If you're worried about battery life, only allow sleeping downloads when plugged in. Problem solved.
If you're in desktop mode you can schedule a shutdown. But I'm not aware of a way to trigger it based on a finished Steam download queue unfortunately.
I remember a time Windows pushed a major update on my laptop as I was about to sleep. I wrote a routine that shuts down my laptop after about 30 minutes, so I can unplug the machine while Youtube or something is on as I fall asleep. Well, it backfired at that time as I had to re-awake after 30 minutes, and plug the machine back in. It was stuck at 30% for a while. "You're 30% there". I'm 30% there? It's not me, it's you, you stupid OS!
I've definitely spent more than a few minutes staring at an update screen after I sat down, not to mention games that won't launch before completing a 30GB+ update.
Games are different. You can set whether you want it to download while you play, or you can just leave it on the download screen plugged in at the end of the day to update everything.