In your example, both are correct. However, "electricity" refers only to 电力, whereas, "power" can include 力 (功率, 动力, 权力) more broadly. But if my lights stop working during a storm, I can say either "Oh no, we lost power" or "Oh no, we lost electricity" and the meaning is the same. Same with "electric company" and "power company."