DouglasFlyer i think this is a different situation since they are on takeoff!
On takeoff, close to terrain i would call mayday but on cruise... pan pan since there is not immediate danger for plane and pax.
Then it depends on the reasons, but that is captain jugdment.
see ya