Below is a circuit designed to light up an LED if the battery voltage drops to a certain level. It's an LM358P Opamp in comparator mode. My problem is that it's not working as expected. The LED is lighting up even before the Input at Pin 3 (non-inverting input) drops below the Input at Pin 2 (inverting input). That happens when using a particular IC. I switch out the IC with another LM358P IC and I get no response at all. I switch out with an LM358G and the LED is always on. Funny behavior. Can anyone help fix the problem and make the circuit do what it's supposed to?

