I download the SECUSO research group - Privacy Friendly Net Monitor from https://f-droid.org/packages/org.secuso.privacyfriendlynetmonitor/ and install on my Android 7 phone which is not rooted. I run it to monitor which apps is connecting and downloading at the background (regardless I am on wifi or my phone mobile data).
I notice that the Privacy Friendly Net Monitor will shutdown when the phone is screen off, which I never permit it to shutdown as I want it to continuously monitor all the apps including those from Google (such as Google Play Store app, which is famous for notoriously downloading at the background without user permission.)
So, how do I go about to prevent Privacy Friendly Net Monitor from shutdown or stop running without my permission?