NOVELTY - The method comprises connecting a substrate (3) of an apparatus (1) and a flat-shaped battery (4) to each other via a terminal (5, 6) in such a manner that a positive electrode can (8) and/or a negative electrode can (9) of the flat-shaped battery is opposed to the substrate, and burying the substrate and the flat-shaped battery in resin. The positive electrode can and/or the negative electrode can has a smaller amount of deformation caused by bulging at a time of expansion of the flat-shaped battery. The positive and negative electrode cans are opposed to each other.    USE - The method is useful for attaching a flat-shaped battery in an apparatus such as a transmitter of a tire air pressure monitoring system to be attached to a rotary portion such as a tire (all claimed) or a wheel of an automobile, where the flat-shaped battery is a coin battery or a button battery useful as a power source for memory backup in information equipment and visual equipment.    ADVANTAGE - The method is capable of efficiently attaching the flat-shaped battery in the apparatus thus reducing the displacement of the terminal from the substrate and the deformation such as cracking of the substrate caused by the expansion of the battery and preventing the battery performance from degradation.    DETAILED DESCRIPTION - The method comprises connecting a substrate (3) of an apparatus (1) and a flat-shaped battery (4) to each other via a terminal (5, 6) in such a manner that a positive electrode can (8) and/or a negative electrode can (9) of the flat-shaped battery is opposed to the substrate, and burying the substrate and the flat-shaped battery in resin. The positive electrode can and/or the negative electrode can has a smaller amount of deformation caused by bulging at a time of expansion of the flat-shaped battery. The positive and negative electrode cans are opposed to each other. The flat-shaped battery is placed on an inner side from the substrate with respect to a rotation center of the rotary portion. A mass of the flat-shaped battery is larger than a mass of the substrate. An INDEPENDENT CLAIM is included for an apparatus to be attached to a rotary portion.    DESCRIPTION OF DRAWING(S) - The diagram shows a cross-sectional view of a method for attaching a flat-shaped battery.    Apparatus (1)    Substrate (3)    Flat-shaped battery (4)    Terminals (5, 6)    Positive electrode can (8)    Negative electrode can. (9)