I am posting this here since the problem is not related to any specific Mac model and it may be OS related - I have no clue!
I have an iMac24" with the Apple bluetooth keyboard and about once or twice a day the keyboard does not respond, followed by a "connection lost" message on the screen.
This never happened with my iMac20" that I had before (different keyboard of course)!
Is my keyboard defect?
The mighty mouse works just fine - well the connection, the mouse is crap!