This usually happens when either the little spring contact in the battery compartment isn't making solid contact with the battery or something internal is broken/loose. The battery compartment issue is easily fixed by bending the tab and making sure the contacts are clean but anything else is either warranty or trash can serviced.