Abstract:
A method and apparatus to detect the imminent removal of the battery from a portable electronic device and to automatically shut off said device before electrical power from the battery is lost.

Description:
TECHNICAL FIELD 
     The invention relates generally to methods for making battery interconnections and in particular to methods and apparatus for detecting when the batteries of a portable electronic device are being removed so that the device can be automatically shut off before electrical power from the main batteries is lost. 
     BACKGROUND OF THE INVENTION 
     Batteries are a convenient source of electrical power for portable electronic devices. Non-rechargeable batteries, however, normally have a limited life and must be replaced periodically. Rechargeable batteries typically have a longer useful life than non-rechargeable batteries, but they too may at times require removal or replacement. When an electronic device&#39;s main batteries must be removed, it is usually desirable to have the device switched off to avoid damage to the device or loss of the data stored therein. Nevertheless, the forgetful or untrained user may often fail to switch the device off before removing its main batteries. 
     Consequently, it would be desirable to have a method of detecting when the main batteries of a portable electronic device were being removed, and for automatically shutting off the device or switching to a backup battery before electrical power from said main batteries was lost. 
     SUMMARY OF THE INVENTION 
     Therefore, it is the object of the present invention to provide a simple method and apparatus for electro-mechanically detecting the imminent removal of the main batteries from a portable electronic device so that the device can automatically shut itself off or switch to backup battery power before electrical power from the main batteries is lost. 
    
    
     Principle features and advantages of the present invention will become apparent from the following description and accompanying drawings, which set forth by way of illustration and example specific embodiments of the invention. 
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is an exploded view of the preferred embodiment of the invention. 
     FIG. 2 is a sectional side elevational view of the embodiment of the invention in FIG. 1 showing the latch in the latched position. 
     FIG. 3 is a sectional side elevational view of the embodiment of the invention in FIG. 1 showing the latch in the unlatched position. 
    
    
     DETAILED DESCRIPTION 
     FIG. 1 is an exploded view of the preferred embodiment of the invention. A large, rectangular aperture 52 in the housing 54 of the portable electronic device allows insertion of a battery or batteries into the device. A smaller rectangular aperture 56 adjacent to the large aperture allows access to the latch block 58 switch surface 10. A flange 12 and rib 14 are attached to the housing 54 mate with the cover plate 16 to form a rectangular channel in which the latch block 58 can slide. A battery compartment shell 18 which consists of a cavity into which a battery or batteries can be placed is attached to the inside face of the housing 54 around the aperture 52. 
     The latch block 58 is inserted within the channel formed by flange 12 and rib 14 and is retained by the cover plate 16. Two ribs 20 and 22 molded into the latch block 58 provide contact surfaces that engage the spring contacts 24 and 26 when the latch block 58 is slid to the unlatched position. The latch block 58 contains a surface 10 which protrudes through the housing 54 forming a switch and a prong 28 which extends through a notch 30 in the forward wall of the battery compartment shell 18 to hold the battery compartment cover 32 securely in place enclosing the battery compartment. 
     The pins 34 and 36 of the spring contacts 24 and 26 are press fit through holes 38 and 40 in a recessed cavity 42 of the cover plate 16. These pins 34 and 36 are then soldered to a flexible circuit 44 which is connected to the main circuit board of the device (not shown). 
     FIGS. 2 and 3 are sectional side elevational views of the invention. FIG. 2 shows the latch block 58 in the latched position. The two spring contacts 24 and 26 are not in contact with the latch block ribs 20 and 22 and are allowed to rest on a rib 14 protruding from the device&#39;s bottom housing 54. FIG. 3 shows the latch block 58 in the unlatched position. Ribs 20 and 22 on the latch block are in contact with the two spring contacts 24 and 26 completing a circuit between them. 
     OPERATION OF THE INVENTION 
     As the need arises to remove the batteries of the portable electronic device, the latch block is slid from the latched position shown in FIG. 2 to the unlatched position shown in FIG. 3 to allow removal of the battery compartment cover. Ribs molded into the latch block make contact with two spring metal contacts completing a circuit between them. The portable electronic device reacts to the completion of the circuit by executing a routine causing an orderly shutdown of the processor or switch over to backup battery power before the main batteries can be removed. 
     When the main batteries are inserted into the portable electronic device, the battery compartment cover is replaced. The latch block is slid from the unlatched position to the latched position to retain the battery compartment cover. The latch block ribs dis-engage the two spring contacts breaking the circuit between them. The portable electronic device can then be switched on.