Disable BTT Touch Bar While on Battery?

I am trying to find a simple solution to disable BTT (I only use the Touch Bar features) and use the standard MacOS Touch Bar interface whenever I am not plugged in to power. I tried searching through past topics, but didn't see anything that seemed to address this.

Could also be open to something along the lines of "if battery % is less than x%, disable BTT" (or something similar) if that is easier to implement.

Not opposed to messing around with JS or AppleScript, but I'm just not super familiar with these.

Thanks for any help!

Imprint | Privacy Policy