In the UK all the urinals in the bathroom will be flushed automatically at the same time using an auto-syphon that is attached to a tank that's slowly and continuously filled with water.
So it requires no moving parts or electricity, and flushes automatically at a regular interval depending on how fast the water supply is.