Magic Keyboard passthrough charging doesn’t charge iPad Pro when Magic Keyboard is closed
iPad Pro 12.9” 5th Gen, iPadOS 16.5.1
To be nice to my device batteries, I have Automation Shortcuts that turn smart outlets on/off when my iPad Pro battery falls below/above certain levels. When the cable is attached to the iPad's USB-C port, this works fine. When the cable is connected to the passthrough USB-C port on the Magic Keyboard and the case is open, this works fine. But, if the Magic Keyboard is closed, the iPad does not charge. If I open the case, it starts charging; closing the case stops charging.
Is this a feature or a bug? Is there a workaround other than leaving the Magic Keyboard cracked open? It's a tad annoying because when I don't notice a low battery (at night, etc), I end up with a drained iPad battery.
iPad Pro, iPadOS 16