Thanks, I wasn't aware of the existence of /etc/sysctl.conf – that's what I needed.
I had not read lid-related topic 6942 because the notebook is sometimes used in clamshell mode.
(OT: wake from sleep is reliable. Sleep is not reliable; I'll pursue this elsewhere.)