The Arduino can't do anything without power. Most people use a circuit that provides warning that the power is about to be shut off, and store the number before that happens.
The Arduino can't do anything without power. Most people use a circuit that provides warning that the power is about to be shut off, and store the number before that happens.