I have a UWP app which registers an in-process background task that must run every 15 minutes.
The background task runs effectively every 15..20 minutes after the computer has been started up and the computer remains active. As soon as the computer goes in lock screen the task doesn't run anymore. When the computer is later unlocked, the task runs again. The computer is permanently powered (doesn't run on battery) and I have configured the device not to go in sleep state. The screen is configured to go off after 10 minutes of inactivity.
To check whether the task runs I have put a log statement as first instruction in the Run() method. The log text goes to a file in LocalState.
From the documentation I learned that since Windows 10 UWP apps should be allowed to run when the computer is locked.
Is this true or doesn't this apply to time triggered background tasks?