+1... ish. This doesn't work on my Framework 13, because the device name is "ACAD" here, not "AC". If I patch that in, it does work though.
Also, if we don't turn the display on, we should really suspend the device again in a short time frame, like we already do if the lid is closed.