If you have updated your firmware it is possible the setting that limits how far away you can fly in the DJI app got set again by accident. Check that in the DJI app first.
Make sure you have a solid GPS fix and that the red triangle is showing your current location accurately. If you don't wait long enough it can think it is somewhere else that is too far away to physically fly on a battery.