A processor first executes activation through a first program stored in a main memory when there is an activation instruction, a switching unit switches a program from the first program to a second program in sub memory when activation through the first program is impossible within a first period of time, and the processor halts power supply from the battery when activation through the second program is impossible within a second period of time.