Fuel Starvation and Autopilot
I am wondering what happens if an aircraft is crusing with the autopilot engaged in the event of fuel starvation. (Yes I am thinking about MH370). How will the autopilot/FMS behave when it can't hold the altitude? I envision some sort of default profile akin to best glide speed. Is this programmable or hard coded etc? Please elucidate.