CPC G06F 1/12 (2013.01) | 17 Claims |
1. A data processing device comprising:
at least one processor that executes a program stored in at least one memory; and
a timer that repeatedly and continuously counts a setting time, wherein
the at least one processor
acquires data indicating a state of a battery,
judges whether an event determined in advance has occurred,
executes processing determined in advance based on the data acquired in the setting time in response to judgement that the event has not occurred between start and end of counting for one setting time by the timer, and
executes at least one of a first operation and a second operation in response to judgement that the event has occurred between the start and the end of the counting for the one setting time, the first operation being an operation of performing the processing based on the data acquired from the start of the counting to a stop timing based on occurrence of the event, and the second operation being an operation of performing the processing based on the data acquired from a start timing based on an occurrence timing of the event to end of counting for one setting time by the timer.
|