Patent ID: 8689032

Claim:
An information processing apparatus capable of installing a plurality of storage units, the information processing apparatus comprising: a first supply unit configured to supply electric power to the plurality of storage units; a second supply unit configured to supply electric power to the plurality of storage units, when the first supply unit stops supplying electric power to the plurality of storage units; a charging unit configured to charge the second supply unit; a measurement unit configured to measure a time during which the second supply unit supplies electric power to the plurality of storage units; a detection unit configured to detect a number of the storage units installed on the information processing apparatus; a determination unit configured to determine a time during which the second supply unit should be charged, based on the time which has been measured by the measurement unit and the number of units which has been detected by the detection unit; and a control unit configured to perform control that the charging unit charges the second supply unit for a period of the time which has been determined by the determination unit.