Two comparators are used to indicate the status of a 9 V battery. The circuit is from Electronics Now magazine, July 1998. Zerners of other values ​​can be used to monitor other voltages.