the embodiments of the present invention the power supply is shut in association with an action peculiar to the apparatus carrying action or non image formation in an image forming apparatus equipped with a battery whereby the danger of the apparatus starting to operate during the carrying action wasteful consumption of the battery and failure of the apparatus due to overheating can be prevented referring to fig1 there is shown a battery driven type and portable type electrophotographic copying machine as an exemplary image forming apparatus according to an embodiment of the present invention the image forming apparatus assumes a horizontal position that is it is laid down on a horizontal surface such as a desk surface d or the like while the second cover is opened fig1 is a perspective view of the second cover the apparatus is operated in this position with the second cover being opened in fig1 the apparatus is placed in an upstanding position wherein the second cover is closed the apparatus shown in fig1 comprises an outer casing 23 an original carriage 24 disposed above the top of the outer casing 23 and reciprocable in the directions indicated by an arrows a and b and an original pressing plate 25 openable and closable with respect to the top surface of the original carriage an original to be copied is placed face.