usually comes on at 20 minutes for long haul, and 10 minutes for short haul.
going off for short haul it can be quite quick so only a few minutes or once above 10000ft, long haul it will be more like 10 minutes in to the flight when it comes off.
obviously weather may mean it stays on longer or goes back on earlier.