why have it go to full sleep? you can just have it switch on a blank screensaver and that keeps the HDMI handshake active; no CEC shenanigans. y'all are overthinking this. the TV doesn't have to be on when the HTPC isn't "running" - and that arguable uses way more juice than an erstwhile HTPC idling.
apologies for the nested quotes in post #18, dunno how that happened.
apologies for the nested quotes in post #18, dunno how that happened.