Terminal Device and Computer-Readable Storage Medium
A terminal apparatus and a computer-readable storage medium capable of achieving reduction of power consumption by appropriately controlling lighting of a display unit are provided. A CPU lights or extinguishes a display unit after the end of an interrupt event in accordance with a lighting state (lighting, dim-lighting, being unlighted) of the display unit when the occurrence of the interrupt event is detected. It is therefore possible for the CPU to perform appropriate display control according to the lighting state when an interrupt event occurs.
1 . A terminal device for controlling a display unit to be in a lighting state of at least one of lighting at a first brightness, lighting at a second brightness darker than the first brightness, and being unlighted, the terminal device comprising:
a detection unit that detects a display state of the display unit; and
a lighting control unit that controls a lighting time of the display unit at the second brightness by referring to the display state detected by the detection unit when lighting of the display unit at the first brightness ends and lighting at the second brightness begins.
2 . (canceled)
3 . (canceled)
4 . A non-transitory computer-readable storage medium that stores a program for implementing on a computer:
a function that detects a display state of a display unit as a lighting state of at least one of lighting of a first brightness, lighting of a second brightness darker than the first brightness, and unlighted; and
a function that controls lighting time of the display unit at the second brightness by referring to the display state detected when the lighting of the display unit at the first brightness ends and lighting at the second brightness begins.