The data retention period refers to the retention period when the device is powered by the internal battery. If an external power supply is connected, then the device is powered by the external power supply rather than the internal battery and battery capacity is conserved. In any case, the longest retention time is determined by the battery life.