Battery Optimization disable

The Pixel 5 phones we are using do not accept the battery optimization script I had found.

batteryoptimize allow|enable <app name>

The logs says...

Script command is not supported by device (batteryoptimize)

I have disabled "allow doze mode" in the feature control profile.  Is there a different script that I am unaware of or a different setting?

Device: Pixel 5

Mobi Agent: 14.5

Mobi Console: 15.2 (cloud)

4 years ago
Android Scripting
ANSWERS
MD
Matt Dermody Diamond Contributor
4 years ago

If Doze Mode is disabled on the device then I don't believe you'd need to also add any devices to the Battery Optimization list as Doze Mode will cover all apps. 

PW
Patrick Weber
4 years ago

We are still getting apps that are trying to use batter optimization. Users are getting popup notifications saying "If you want to receive calls and messages, you need to change your settings to turn off battery optimization". The app this is happening with is Cisco Jabber.