Sounds like a great idea! Someone on BYC mentioned they use a sola powered electric fence . Did you order your electric fence online or locally? I don't know anything about this type of fence, but I willing to try and install one. Do you have to up the voltage or do anything different for bears/deer?I have an idea that may work for you. It works for beekeepers and we use it successfully to keep deer out of our haystacks.
Put up an electric fence/wire around the coop. Take tinfoil and wrap it around the electric fence wire, then coat it in peanut butter. You may have to re-coat it weekly.
The animal will come up to the electric fence and bite/lick the peanut butter and get quite a painful and scary shock. We used to have deer tearing our haystacks apart, but after a couple nights of the peanut butter on the electric fence they usuall don't even come onto our property anymore. We don't keep the peanut butter going all the time, just when needed (i.e. when hay is stacked new). Now once or twice every couple of years seems to keep all deer off the property.
We also use this around our bee hives and although we have not had bear problems, i am sure if a bear came by they would not like the "treat". My in-laws had a bear tear apart their coop and kill some chickens a couple of years ago... since then, they have used the peanut butter trick with no more chicken casualites.
May be worth trying.....since once a bear knows there's food available they tend to come back.