There is a setting in Huawei phones that allow you to add applications as protected. What is that setting mean? Are there other vendors that have similar feature? I've noticed that some applications by default added to protected (such as Instagram for example). How is it done? Where I can find the full list of such applications? Is this means that Huawei as vendor trusts those packages? Thanks in advance.
I have owned a Huawei phone (Honor 6) till recently so can speak from personal experience
Protected apps is a battery saving feature (like stamina mode in Sony phones) . Apps not selected as protected apps stop working once the screen is off and a wait duration. This I discovered when a voice recording app would stop recording after an hour of recording, irrespective of app. However, if the same app is included in protected app list, it would record indefinitely till stopped. Same was the case with an automation app that would work as intended only when included in protected app list
Quick Google search from Android Central Review of Huawei 8 confirms same
And then there's the whole "protected apps" system, which requires you to manually approve each app you want to be able to run when the screen's off.
According to this stack overflow question, developers can't include in their manifest asking for inclusion in protected apps list but Huawei OS apparently includes for popular apps, like Tinder /Instagram, in your case
Scoured web for a full list of such applications but no luck. Writing to Huawei is an option technically but practically, with experience, they don't bother even acknowledging your mail, forget answering
Thanks to Happy Coder for updating and confirming that protected apps is found under battery settings
I were looking for an answer and after several hours I found this:
In resume is way to know if your app was killed by 'Protected apps' and this only works on Huawei devices. let me know if there is any solution for other devices (Samsung,Sony,Xiaomi, etc).
If you're familiar with Greenify Android app(Root only) you'll know this feature. Every app that uses internet connection to refresh the data etc.,(every time you open the app) has to make sure that the application's services are running in the background as daemon processes. Thus using up more power/battery. Thus, if you haven't selected the app, the apps' services will not run in the background and thus everytime you open the app, it will refresh the data, instead of having it ready.