A semiconductor device for monitoring a state of a battery, comprising: a prediction unit (13_1) configured to predict a temperature (TH EOD) at a time of discharge termination of the battery from a temperature of the battery at a predetermined time, and output a voltage of the battery in consideration of the predicted temperature (TH EOD) at the discharge termination; and a remaining amount detecting unit (13_2) configured to detect a remaining amount of the battery based on the voltage of the battery outputted by the prediction unit (13_1) and a current of the battery at the predetermined time, wherein the prediction unit (13_1) is configured to obtain a voltage change rate (a V) of the voltage of the battery at the predetermined time, calculate a discharge time until the voltage of the battery reaches the voltage at the discharge termination based on the voltage change rate (a V), and predict the temperature (TH EOD) at the discharge termination based on i) a change rate (a TH) of the temperature at the predetermined time and ii) the discharge time, wherein the prediction unit (13_1) is configured to convert the temperature of the battery at the predetermined time using the predicted temperature (TH EOD) at the discharge termination, and output a converted temperature as a temperature at the predetermined time in consideration of the predicted temperature (TH EOD) at the discharge termination, and supply it to the remaining amount detecting unit (13_2), wherein the remaining amount detecting unit (13_2) is configured to generate internal resistance information of the battery based on the supplied temperature as internal resistance information of the battery in consideration of the predicted temperature (TH EOD) at the discharge termination, wherein the remaining amount detecting unit (13_2) is configured to notify the prediction unit (13_1) of the generated internal resistance information of the battery in consideration of the predicted temperature (TH EOD) at the discharge termination, and wherein the prediction unit (13_1) is configured to output the voltage of the battery in consideration of the predicted temperature (TH EOD) at the discharge termination based on i) the voltage of the battery at the predetermined time, ii) the notified internal resistance information, and iii) the current of the battery at the predetermined time. a prediction unit (13_1) configured to predict a temperature (TH EOD) at a time of discharge termination of the battery from a temperature of the battery at a predetermined time, and output a voltage of the battery in consideration of the predicted temperature (TH EOD) at the discharge termination; and a remaining amount detecting unit (13_2) configured to detect a remaining amount of the battery based on the voltage of the battery outputted by the prediction unit (13_1) and a current of the battery at the predetermined time, wherein the prediction unit (13_1) is configured to obtain a voltage change rate (a V) of the voltage of the battery at the predetermined time, calculate a discharge time until the voltage of the battery reaches the voltage at the discharge termination based on the voltage change rate (a V), and predict the temperature (TH EOD) at the discharge termination based on i) a change rate (a TH) of the temperature at the predetermined time and ii) the discharge time, wherein the prediction unit (13_1) is configured to convert the temperature of the battery at the predetermined time using the predicted temperature (TH EOD) at the discharge termination, and output a converted temperature as a temperature at the predetermined time in consideration of the predicted temperature (TH EOD) at the discharge termination, and supply it to the remaining amount detecting unit (13_2), wherein the remaining amount detecting unit (13_2) is configured to generate internal resistance information of the battery based on the supplied temperature as internal resistance information of the battery in consideration of the predicted temperature (TH EOD) at the discharge termination, wherein the remaining amount detecting unit (13_2) is configured to notify the prediction unit (13_1) of the generated internal resistance information of the battery in consideration of the predicted temperature (TH EOD) at the discharge termination, and wherein the prediction unit (13_1) is configured to output the voltage of the battery in consideration of the predicted temperature (TH EOD) at the discharge termination based on i) the voltage of the battery at the predetermined time, ii) the notified internal resistance information, and iii) the current of the battery at the predetermined time.