Hy engineer, this is what I have come up with for the revised clock backup battery circuit.
Once again, the parts are hellish expensive.
spec
ISSUE 3 of 2016_04_05
DATA SHEETS & SOURCES
(1) Comparator & Voltage Reference, Texas Instruments TLV3012
https://www.ti.com/lit/ds/symlink/tlv3011.pdf
https://uk.rs-online.com/web/p/comp...3743D544C5633303131267374613D544C563330313126
(2) LiIon battery 120mA/hr, Multicomponents LIR2450
https://www.farnell.com/datasheets/1475807.pdf
https://uk.farnell.com/multicomp/lir2450/coin-cell-lithium-120mah-3-6v/dp/2009025?MER=BN-2009025
(3) Complimentary MOSFETS, NXP PMCPB5530X
**broken link removed**
https://uk.farnell.com/nxp/pmcpb553...id|99301984448|kword|pmcpb5530x|match|p|plid|
NOTES
(1) The above circuit is optimized for a long battery life. Charging current averages around 20mA which represents 20ma/120mAh = 17% of C. But the charging current tails off as the final float voltage of 4V is approached. The discharge current is around 340uA, to keep the oscillator and counters working, and this current is terminated when the battery voltage drops to 3V. All these factors are good for maximizing battery life. Here is an article about extending LiIon battery life:
**broken link removed**
(2) The two spare NMOSFETs are only there because they come in the same case as the PMOSFETS.
(3) The NXP PMOSFETs type PMV48 (SOT23) can be used in place of the PMOSFETs in the NXP PMCPB5530X (SOT1118) if the case style is preferred for hand soldering.
ERRATA