Magic keyboard only connects when plugged in
https://discussions.apple.com/thread/7689530The answer here worked for my magic keyboard
- Connect your magic keyboard with your mac using a lightning cable (if it was not already)
- Turn off bluetooth on your mac
- Toggle the keyboard power to "off"
- Disconnect the lightning cable
- Turn on bluetooth on your mac
- Toggle the keyboard power to "on"
It should connect and work without any issues
Mac mini, macOS 11.2