Using arduino for a Pc case mod

Is there a way to warn the Arduino before the PSU shuts off? Saw some suggestions that using a super capacitor might help to move the servos to a close position is the power shuts off... will look into that if possible