Easy way to make Bluetooth switch off when no AC?

I’d love an easy way to set my M3 MacBook Air (on Sequoia) to turn off Bluetooth as soon as I disconnect AC.

Suggestions welcome!

Have you looked into Keyboard Maestro? I don’t know offhand if supports all this, but I’ll be surprised if it doesn’t. It’s the sort of power user automation that has all kinds of uses.

PS: Love what you do with Chicago Public Square :)

Thanks, Gordon—on both counts!

I once made a Shortcut that would play a sound when charging cable was connected but can’t find it now nor can I find a control for it in Shortcuts App. Got to dash and will aim to check again later when not hectic. Meantime maybe someone knows how to set up Shortcuts to turn BT off when Battery is not charging…