We have been using UltraSonic electric mice gaget by Black and Decker for years. The only trouble it has to be plugged in 120V circuit with power.
Never have mouse while plugged in.
Put one of those in the Garage and all my squirrels ran to my neighbour's garage so I gave him one for his to. These are only available in US at WW. that I have located so far. It don't kill but surely creates problems for others.
We now have one in the bedroom, kitchen and the basement.
When I store my classics cars for the winter I place mooth balls around the outside of the cars and Downy dryer sheets inside. Never had a mouse in the cars in the last 7 years doing it and a nice fresh smell inside, who care about the outside.