Out here in mouse country, we have several different kinds of mice - field mice, pack rats, and kangaroo rats. Kangaroo rats don't get into your wiring, the other two types do. I had wires eaten on both my Ford pickup and my Toyota Camry, resulting in over a thousand dollars in damage. I also have had mice infestations in my camper trailer. So I did a bit of research, and found out what mice hate. They hate the smell of mothballs, but so do I. Put mothballs in your vehicle and it'll smell like your old Aunt Minnie until you trade it.
They hate, just as much, the smell of peppermint.
Don's method for keeping mice out of your wires; So, my solution to my mouse problems in my RV, truck and car, install peppermint. Here's how I do it:
Go to Wally World or your food mart and get some small Hefty snap-on lid containers, the smallest ones, which are about 2 inches square. They come in packs of 8.
Get some peppermint essential oil, available at pharmacies and sometimes also at Walmart.
Poke some holes in the lid of the Hefty container, say a half dozen or so, with an awl.
Pour about an eighth of an inch of vegetable oil in the container.
Shake in about 20 drops of the peppermint oil
Snap on the lid.
Place under the hood in convenient flat locations, (on your bike, under the seat). On my pickup I have two, one put on top of each battery with velcro. On my car, one on the battery. In my RV, I have one on the floor at each end of the trailer.
Snap off the lid and refresh the peppermint oil every 6 months or so.
Results? Mouse free for three years - no signs of mouse pooping or collecting stuff anywhere.