A real-life scene that made me chuckle last weekend…
“Oh shit, Hey Babe did you close my laptop?”
My not-very-technical friend as we returned home from a Sunday afternoon trip to the park with the kids to find his Claude Code session had been thwarted.
happened to my friend too! an overkill but working solution for this is "sudo pmset -a disablesleep 1"