There's an EU law that actually dictates that all coffee machines should turn off.
But I still don't trust it. I need to do the Japanese train conductor pointing and vocalising thing when turning stuff off when I leave the house for a longer time =)
Some have heater that keeps it warm indefinitely. We had mechanical timer for that one in our old job.
Well, it was reason why it was installed, but what actually was used for is that we set up coffee to brew before leaving work and the timer turned it on right before people started coming to the office so we were welcomed by smell of fresh coffee