A while is, for example, an hour and a half. But a built-in cycling dynamics field still works. I observe this on Edge 1030 Plus, but the phenomenon is irregular and, for example, everything works fine for 3 hours.
This space is specifically for Connect IQ bug reports. Please review the Connect IQ Bug Reports FAQ before reporting a bug to be sure you have the information needed for Garmin to investigate the bug you wish to report.