B737-700
Flight Crew Air Transport Pilot (ATP); Flight Crew Multiengine; Flight Crew Instrument
Flight Crew Last 90 Days 250; Flight Crew Type 8500
Situational Awareness
Aircraft Equipment Problem Less Severe; Deviation / Discrepancy - Procedural MEL / CDL; Deviation / Discrepancy - Procedural Published Material / Policy
Flight Crew Landed As Precaution
Aircraft
We were en route to ZZZ from ZZZ1. We were dispatched with MEL 24-1-02 Single Generator inop. We were running the APU in accordance with the MEL. The MEL was briefed on the ground and we were both aware of the restriction to divert if we lost the APU. The APU then did an auto-shutdown in-flight at cruise altitude.  We ran the QRH; sent a note to dispatch and all agreed ZZZ2 was the best divert. We notified ATC; notified Dispatch; the Crew and the Passengers. We ran the Divert Checklist and landed at ZZZ2 uneventfully.
While en route between ZZZ and ZZZ1; we diverted to ZZZ2 because we were down to a single generating source of aircraft power. Our right #2 Engine Driven Generator System was deferred requiring us to run the APU generator during flight. We briefed the MEL thoroughly and discussed contingency options prior to leaving. While in cruise flight at 38;000 feet; the APU automatically shutdown due to low pressure leaving us with the single generator. We elected to divert to ZZZ2 after confirming with Dispatch. We ran all our checklist appropriately and landed without further incident in ZZZ2.
B737-700 flight crew reported APU auto shutdown in flight causing diversion and precautionary landing due single generator operation per MEL.