Automatically disable BTT when on battery, enable when on charger

I added today request for this trigger to make this possible.