The circuit shown below is used on one of my PCBs to switch the VBAT supply for the RTC, ensuring timekeeping continues whenever the main supply (VCC) is unavailable.
Circuit Operation
Under normal conditions, when VCC is available, VBAT is powered through D1.
When VCC is removed, VBAT is instead supplied by the coin cell through P1 and Q1. This behavior matches the intended design.
Issue Observed
After about a month in use, the RTC coin cell (nominally 3 V) was found discharged to 1.6 V. This is unexpected, since such batteries are typically expected to last several years in standby applications.
Measurements
With VCC present:
- VBAT = 3.117 V
- Current = –2.25 mA (appears to flow into the coin cell).
With VCC absent:
- VBAT = 2.893 V
- Current = ~16 µA
I’m not fully certain if Q1’s biasing is the root cause, but it seems probable given the reverse current flow when VCC is present. How to fix the issue?

