Good Morngin to all,
We need to change the setting related to the screensaver on our Honeywell CT30 devices throug SOTI script.
The device is enrolled with Android Enterprise and it has Android 11. Agent version is 2024.1.6.1140.
The screensaver setting is activated by default and it start "While docked".
But we want to change the setting for start "When charging".
So, we have found a way on old CT60 with Android Classic (Android 9), by sending a simple legacy script:
writesecuresetting -sec screensaver_activate_on_sleep 1
writesecuresetting -sec screensaver_activate_on_dock 0
This work well on old Android Classic devices, but it seems don't work on new Android Enterprise.
I've read some articles related to the fact that with Android Enterprise and with last version of Android, some script won't work correctly because of Google policy.
So I'm here to ask, if someone know a way to do this.
I see in the logs that when I sent the script, it seems to be not recognize correctly.
On old CT60 once the script is done I see:
Custom log (URI:content://settings/secure SETTING:screensaver_activate_on_dock VALUE:0)
Custom log (URI:content://settings/secure SETTING:screensaver_activate_on_sleep VALUE:1)
But on CT30 I just see:
Script was sent to device (writesecuresetting -sec screensaver_activate_on_sleep 1 writesecuresetting -sec screensaver_activate_on_dock 0)
It seems the script is not recognized correctly from the device and the setting don't change.
Is there someone that can help me?
Or maybe, it is just not possibile to do this with new Android version.
Thank you!