Patent ID: 8102466

Claim:
An imaging device including a battery charge function for charging a battery and a data transfer function for transferring data recorded in a storage medium to an external apparatus, the imaging device comprising: a remaining charge detecting unit configured to detect an amount of charge remaining in the battery; a remaining storage capacity detecting unit configured to detect a remaining storage capacity available for recording data in the storage medium; an operating unit configured to allow a user to select any mode among a charge prioritizing mode in which charging the battery is prioritized and a data transfer prioritizing mode in which transferring the data recorded in the storage medium to the external apparatus is prioritized; a setting unit configured to set one of the battery charge prioritizing mode or the data transfer prioritizing mode according to the selected mode through said operating unit; and a control unit configured to provide a control of: when the amount of charge remaining detected by said remaining charge detecting unit is less than a prescribed charge value in a case where the charge prioritizing mode is selected, charging the battery until the amount of charge remaining reaches the prescribed charge value, when the remaining storage capacity detected by said remaining storage capacity detecting unit is less than a prescribed storage value after the amount of charge remaining has reached the prescribed charge value, in a case where the charge prioritizing mode is selected, transferring data from the storage medium to the external apparatus until the remaining storage capacity reaches the prescribed storage value, when the battery is not fully charged after the amount of charge remaining has reached the prescribed charge value, in a case where the charge prioritizing mode is selected, charging the battery until the battery is fully charged, and thereafter when the storage medium still includes not-yet transferred data, transferring all the not-yet transferred data to the external apparatus, and when the remaining storage capacity detected by said remaining storage capacity detecting unit is less than the prescribed storage value in a case where the data transfer prioritizing mode is selected, transferring data from the storage medium to the external apparatus until the remaining storage capacity reaches the prescribed storage value.