An information terminal in which a battery device is attached to a terminal main body detachably and which includes a predetermined device (14, 19) separate from the battery device in the terminal main body, the information terminal comprising: a temperature measuring unit which is configured to obtain temperature information output from a temperature sensor provided in the battery device and which is configured to measure a temperature of the battery device, a controller which is configured to set the predetermined device (14, 19) based on an amount of time that elapsed from when the information terminal starts or when a hot swap mode in which the battery device can be exchanged ends and the measured temperature of the battery device, wherein the controller is configured to set the predetermined device (14, 19) to a setting for low temperature in response to the amount of time that elapsed from when the information terminal starts or the hot swap mode ends being equal to or longer than a predetermined amount of time and the measured temperature of the battery device being equal to or lower than a first threshold, wherein the controller is configured to set the predetermined device (14, 19) to the setting for low temperature in response to the amount of time that elapsed from when the information terminal starts or the hot swap mode ends being shorter than the predetermined amount of time and the measured temperature of the battery device being equal to or lower than a second threshold, wherein the controller is configured to set the predetermined device (14, 19) to a setting for high temperature in response to the amount of time that elapsed from when the information terminal starts or the hot swap mode ends being equal to or longer than the predetermined amount of time and the measured temperature of the battery device being higher than the first threshold, and wherein the controller is configured to set the predetermined device (14, 19) to the setting for high temperature in response to the amount of time that elapsed from when the information terminal starts or the hot swap mode ends being shorter than the predetermined amount of time and the measured temperature of the battery device being higher than the second threshold which is higher than the first threshold. a temperature measuring unit which is configured to obtain temperature information output from a temperature sensor provided in the battery device and which is configured to measure a temperature of the battery device, a controller which is configured to set the predetermined device (14, 19) based on an amount of time that elapsed from when the information terminal starts or when a hot swap mode in which the battery device can be exchanged ends and the measured temperature of the battery device, wherein the controller is configured to set the predetermined device (14, 19) to a setting for low temperature in response to the amount of time that elapsed from when the information terminal starts or the hot swap mode ends being equal to or longer than a predetermined amount of time and the measured temperature of the battery device being equal to or lower than a first threshold, wherein the controller is configured to set the predetermined device (14, 19) to the setting for low temperature in response to the amount of time that elapsed from when the information terminal starts or the hot swap mode ends being shorter than the predetermined amount of time and the measured temperature of the battery device being equal to or lower than a second threshold, wherein the controller is configured to set the predetermined device (14, 19) to a setting for high temperature in response to the amount of time that elapsed from when the information terminal starts or the hot swap mode ends being equal to or longer than the predetermined amount of time and the measured temperature of the battery device being higher than the first threshold, and wherein the controller is configured to set the predetermined device (14, 19) to the setting for high temperature in response to the amount of time that elapsed from when the information terminal starts or the hot swap mode ends being shorter than the predetermined amount of time and the measured temperature of the battery device being higher than the second threshold which is higher than the first threshold.