The timer settings are often stored in non-volitile memory these days and don't require power to maintain them. The back-up battery/capacitor possibly only has to maintain the clock on a power down.
When my kitchen was recently refurbished the mains power to the timer was removed for two days. On re-applying the power the timer had the correct time all of the previous settings and continued to work.