Checking Magic Keyboard Charge Level

My 2019 iMac came with the Apple Magic Keyboard. I prefer a mechanical keyboard so I started using the Magic Keyboard with my iPad Pro. The Magic Keyboard is rechargeable which means you need to check the charge level occasionally. There is a way to check the charge level on an iPad and in the macOS. This article explains how to do that.