View Supervisory Circuits and Battery Monitor Chips datasheets.