Stop in for a cup of coffee

So how does it LEARN idle?

The programmable memory has to reprogram itself after loosing power....