The bar fills up if you deal and receive damage in a fight and the character's talents also affect the filling.