Greetings KreatorOne,
We understand that when a Magic Keyboard is connected with your iPad Pro, the battery on your iPad Pro drains more quickly.
We have a few questions, but also want to explore some data on the situation. Do you notice this when your iPad is asleep, in use or both? Are we working with iPadOS 14.7.1? You can verify in Settings > General > Software Update.
Next, go to Settings > Battery and take a look at what’s using the most battery during that time frame. Here’s how to read the information you find on that screen - About the battery usage on your iPhone, iPad, and iPod touch There is also a link in there under the section, ‘Adjust settings to improve battery life’ to maximize the battery life and usage.
Let us know what you find out.