Best Practice for Low Spec Devices (Soti Agent is getting killed by android)
- 20 November 2019
- SOTI MobiControl - Android
5 Answers- 0 Upvote
- 2 Followers
5 Answers
'foregroundmode enable' works for me in DA mode with agent version 14.0.0.1579. An icon appears in the notification area:
(It doesn't appear to work in AEDO mode)
So apparently i missed something and you can somehow leverage foregroundmode via scripts:
Although i cant get it to work with DA and Agent 14.0.0.1579
Foregroundmode enable doesnt work
the example foreground enable doesnt work either
Kind Regards John
Thanks Raymond and SCMOD,
dozemode isnt exactly helping here, since the device(agent) isnt losing connection to mobicontrol.
The whole Agent is getting killed by android and is then automaticly started again, though maybe as "security feature" when the agent combined with the lockdown is loaded, it closes all previously or still opened apps.
So when the main app uses to much ram, soti agent is killed by android then automaticly restarts and lockdown then completly closes our app.
An option to not have kiosk closing previously opened apps would be useful in this case although its kind of a security risk.
I will try to further strip down the device with unneeded apps.
Kind Regards John
While there is some limited control to request kernel not to swap an app out due to power management considereations, there is little one can do to stop an app from being swapped due to low memory. In pinciple, the device agent should be restarted automatically after a while.
To solve your problem, the best approach is to totally disable certain memory-hungry or redundant apps/services (especially those that are freely bundled with the device) via App Manager in device's Settings.
Hi John,
Thank you for posting your question.
I would recommend you to try Checking "Disable Doze Mode" Feature control. If you have MobiControl older than 14.2, Please try using the script:
writeprivateprofstring DeviceFeature DisableDozeMode 0
apply featurecontrol
This will help the Device Agent to stay online all the times. Please try this out and see if this works for you use case.
Thank you.
Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |