Here is what I perceived from your dream.
The badger represented a danger or dangerous situation.
You stepped out in an effort to protect those around you.
You put yourself on the line to help both the badger and the people,
even knowing the dangers. Because a badger does what a badger does naturally.
So I seen it as your desire to do what is right, is strong in you,
and sometimes you pay the price but you are willing to step out
Of course this is your dream so you will know best, I may be way off.
None the less it is how I perceived it.
I did not perceive the badger as your totem. Again though you will know best.