Temporarily suppress Low Power Mode?

I'm trying to figure out if there's a way to build a BTT automation that can temporarily disable Low Power Mode if a given app is in focus (i.e. an IDE) and the user isn't idle. I'm happy with the Low Power Mode speed on my Mac for pretty much any task except for development.

I don't see any direct way to impact Low Power Mode in BTT, although sudo pmset -b lowpowermode (0|1) will do it... I'm mainly looking to see if anybody has any thoughts on how to build a stateful automation within BTT that'll temporarily disable it when a given app has focus? Being able to restore the original state if changed when losing focus would be particularly useful... and I'd like to avoid doing it via a Focus (so I don't have to worry about it overriding a do-not-disturb focus)