there is no need for high powered device. Just buy dog repeller like this one:
https://www.aliexpress.com/item/32979578797.htmlWhen you activate it against barkling dog, the dog will shut up immediately and run away with its tail held between the legs
The exception is just deaf dog that does not hear anything.
It also works against cats.
I can recommend to desolder leds (they consume more power from the battery) and to replace ultrasonic transducer with this one:
https://www.aliexpress.com/item/32644794200.htmlBecause transducer that comes with device (in plastic case) is cheap and will be damaged very quickly due to high ultrasonic energy.
Also I recommend to use this Li-Ion accumulator for this repeller:
https://www.aliexpress.com/item/32807381507.htmlBecause it consumes about 500-700 mA and usual 6F22 battery cannot handle such current.
You can also buy these transducers and make your own DIY repeller. All what you needs is just to put 24 kHz 60 V signal to the transducer. In order to get 60 V amplitude, you can use step-up transformer. And feed it with 24 kHz oscillator with power amplifier.
Here is frequency response of these transducers. I bought two pairs and they almost identical: