Electrical circuit for detecting and charging a battery at 12 v
The LTspice circuit file is here if you want to modify the circuit, and the component values on the schematic assume a 12V battery source and a circuit which disconnects the battery from the load when the battery voltage falls to about 10 V, and turns on the LED when the battery voltage falls below about 11.4 V.