Legal analysis: when the power supply enterprise loses power for some reason, it should inform the user in advance or make an announcement in accordance with the regulations; If a power supply enterprise violates the power supply contract and causes losses to the other party, it shall be liable for compensation according to law. The "Residential Electricity Supply Contract" issued by the State Electricity Regulatory Commission stipulates that the power sector shall bear the responsibility for power failure caused by irresistible factors.
Legal basis: Article 652 of the Civil Law of People's Republic of China (PRC) stipulates that when a power supplier needs to interrupt power supply due to planned maintenance, temporary maintenance, power restriction according to law or illegal power use by power users, it shall notify power users in advance in accordance with relevant state regulations; If the power supply is interrupted without notifying the user in advance, causing losses to the user, it shall be liable for compensation.