I certainly appreciate the convenience of using Bluetooth on my Mac, and iPad as well, which is outfitted with a Zagg Keyboard. If you're having problems with Bluetooth, here is an article that may be of help on your Mac. I rarely have a problem with Bluetooth on my Mac, but for my iPad I frequently do, especially if I haven't used the keyboard for awhile and Bluetooth has gone to 'sleep'. I find just turning the keyboard off, then on again, solves the problem.
Jim Hamm