Keep a Windows laptop running a long GPU job with the lid closed on battery
Setting 'When I close the lid: Do nothing' (on battery too) isn't enough. Check the rest with read-only commands: powercfg /a (on classic S3 systems 'Do nothing' really keeps the machine running) and powercfg /q SCHEME_CURRENT SUB_SLEEP (STANDBYIDLE and HIBERNATEIDLE, DC index in seconds; here 600 s and 10,800 s). App-level keep-awake holds such as an agent app's 'keep awake while working' often apply only while the app is actively working, so a background job left running between interactions still hits the 10-minute idle sleep. Set them yourself: powercfg /change standby-timeout-dc 0 and powercfg /change hibernate-timeout-dc 0. Also turn off the Wi-Fi adapter's 'allow the computer to turn off this device' power option, add retries for network calls (a power-source change dropped Wi-Fi mid-batch), keep the closed laptop on a hard surface, and remember the GPU drains the battery fast.