I noticed that some applications are whitelisted from doze-mode on samsung devices without having ever asked the user. I tested this on a galaxy s8, galaxy A5 2016, 2017 all running android 7.0 or 7.1. These apps are for instance Viber, WhatsApp, Messenger - they're what I have seen.

When I first noticed this on a samsung I was not 100% sure that I have not by chance given them that permission myself... So I have done a fresh test by hard resetting a Samsung A5 2016 and installing only Viber onto the fresh phone. After the install, I have not even logged into Viber (and it had not had a chance to ask me of any permissions at all), I immediately checked the Battery Optimisation whitelist and Viber was there.

So the first question is how - according to Android specs an app must ask the user to explicitly allow whitelisting (Am I wrong here)?
The second question - is this maybe possible on Samsung despite the spec.
The third question - maybe Samsung just knows some well known apps and whitelists them by default itself?

--EDIT The initial research on this was hindered by the fact that if you google "samsung doze-mode whitelist" maybe with "not asking the user" it still serves you many links to the official doze mode specs and media articles, but not Samsung related. But then I searched with "samsung smart manager whitelist" and found the following

  1. Question on SO (second answer gives a list of apps which are whitelisted) https://stackoverflow.com/questions/37205106/how-do-i-avoid-that-my-app-enters-optimization-on-samsung-devices

the list of apps in the second answer was of undisclosed source but I can confirm that I checked nearly 10 of them and they are whitelisted by default


Funny thing - the user asks a question and a part of the question is the same as mine - why Viber etc are whitelisted. The answer is carefully avoiding that part and only answers the other part - that he should ask the users consent or use Knox (also asking the user for permission)

So answers to my own questions

  1. According to the spec the app must ask users consent to be whitelisted - yes.

  2. not possible on Samsung for a simple app, either

  3. Yes, Samsung has a whitelist of well-known apps in its Smartmanager

2 more pieces of info

A. Samsung is reluctant to talk about it(see above SEAP link) or maybe not everybody there is aware of the fact.

B. If you have an issue with Samsung doze-mode, do not google for "Samsung doze-mode", google for smth. like "Samsung smart manager doze-mode" (add "smart manager"), because it will yield more Samsung specific results (And Samsung part of battery optimizations is pretty specific).

  • Samsung Galaxy A5 (2017) devices have a so-called "Game Enhancer" or similar mode, which pops up anytime WhatsApp, Telegram or well-known IM apps are installed. Given this, it is entirely possible that the odd behavior you see, be some kind of Samsung idea to avoid any delay in message delivery. Note that I have no proof of this.
    – Grimoire
    Commented Nov 19, 2017 at 21:59
  • thanks for your comment! Tell me, do you mean this "Game Enhancer" literally pops up like displaying some window? because I have seen nothing popping up when installing Viber on A5 2017. (neither did I see anything odd when installing the same on A5 2016).
    – ketzal
    Commented Nov 20, 2017 at 0:27
  • It pops up in the same fashion as when you receive a notification of a new message. It may be dependent on specific versions of TouchWiz, though.
    – Grimoire
    Commented Nov 20, 2017 at 0:29
  • Thanks for the info, I never seen this and I do not know what a TouchWiz is, need to read about it. But anyways I do not seem to have it and the question is how Samsung really works with this whitelist and why it allows those certain apps to be there without users consent
    – ketzal
    Commented Nov 20, 2017 at 19:15
  • @ketzal You can always accept helpful answers by clicking the grey tick beside the answer.
    – iBug
    Commented Nov 21, 2017 at 10:59

1 Answer 1


May I answer your question in a reverse order:

maybe Samsung just knows some well known apps and whitelists them by default itself?

Definitely. It's a common practice in China to have a built-in battery optimization whitelist to contain famous Chinese apps like QQ and WeChat (and Weibo and such) for convenience issues. So I suppose it's not restricted to China, but also that Samsung could make the same approach.

is this maybe possible on Samsung despite the spec?

Yes. Not only Samsung, but also OnePlus, Xiaomi, Huawei, etc. IMHO Samsung is very considerate when designing their ROMs.

according to Android specs an app must ask the user to explicitly allow whitelisting (Am I wrong here)?

Partially wrong here. An app cannot whitelist itself without user intervention. But it's not required that the ROM does the job instead.

  • thank you very much for your answer! I did some research as well and added what I found to the original question. There was in fact a similar question on SO (not Android SE) but I did not find it until I changed my searches. But this topic is not discussed widely - not at all. Strange, I think that this is an important topic. if Samsung has a way to whitelist the app, I guess it should give a way to apply for this to other developer companies as well. And they should inform users about this because there are lots of apps on that list and users did not contend to whitelist all of them
    – ketzal
    Commented Nov 21, 2017 at 10:10
  • @keztal Do note that such "advanced" users like us is only a minority. Most people will only complain if their favorite apps keep getting killed in the background. That's the primary reason for doing so.
    – iBug
    Commented Nov 21, 2017 at 10:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .