The rise on the price of bitcoin relates to the difficulty of mining bitcoin as well. Yes, the price of electricity remains or if it rise only a little but still the level of difficulty becomes high as well therefore the profit did not change that much too. Also one of the factors that makes it hard is there are many people who already had interest in mining. Mining is profitable ofcourse and now It is profitable a little bit more than before.