I came across the term "power-fail interrupt" on Wikipedia here.
Since power-failure occurs instantly, what is the use of this interrupt? By the time the computer realizes it has encountered a power-failure, it'll be switched off! What's the point of it? Also, this interrupt is given the highest priority.
Have I misunderstood the term "power-fail"?