If you're dropping in a Nexus 2013 you'll want to give Timur's ROM a look. That plus Tasker and an OTG cable makes for an OEM like start/sleep/resume cycle which is awesome. Waiting on a good cubby mod to get one put in my Z but I have a Nexus 7 in my Frontier, which I custom mounted that is really sweet. Wish I'd done a how-to while I was fabricating it. Low budget and looks very much OEM. If you're installing in a removable manor, with Timur's rom, when the OTG cable is unplugged the tablet reverts to stock power on/off settings.
https://timur.mobi/timurs-kernel-n7-2013/
If anyone has questions I can do my best to help, though I'm not affiliated with the ROM itself. Just a very happy user.