https://developer.garmin.com/connect-iq/core-topics/backgrounding/
The documentation says:
The Connect IQ compiler allows you to select what code is necessary for running in the background with the :background annotation. Only modules, classes,...