Patent ID: 7710868

Claim:
A program on a computer-readable medium for executing instructions enabling an information processing apparatus to control a communication device having a plurality of communication modes which are different from each other in power consumption and communication rate, wherein the program allows the information processing apparatus to function as: a communication throughput measuring section for measuring a communication throughput with which the communication device communicated in a predetermined reference period of the past; and a communication mode setting section for setting a communication mode of the communication device to a communication mode with lower power consumption and lower communication rate as compared with those of a communication mode set in a case where the communication throughput is higher if the measured communication throughput is lower, but only on condition that the information processing apparatus is being driven exclusively by a battery, and for setting the communication mode of the communication device to a communication mode with higher communication rate as compared with that of a communication mode set in a case where the communication throughout is lower if a use rate, which is the ratio of the measured communication throughout to the maximum communication rate in the present communication mode set in the communication device, is equal to or higher than a predetermined reference rate.