I have a Android TV box and I would like to use HDMI-CEC to turn on and off my TV, I'm using android shell commands to power on tv like: 'echo 0x40 0x04 > /sys/class/cec/cmd' and it works ok.
But when I use 'echo 0x40 0x36 > /sys/class/cec/cmd' to turn off tv and it no works, I need to know if I'm running bad this command to turn off tv or if I have to do something else different.