FZ-A2 keeps disconnecting and reconnecting to network

CP
Craig Prusansky
OPEN Inc. dba SafetyPAD

We are having an issue where many of our Panasonic FZ-A2 Android devices keep disconnecting every few minutes, then reconnecting a few minutes later.  The devices are connecting to the network via 4G LTE connections, not via WiFi.  Accordingly, in the device log they are showing "Device disconnected", and then a few minutes later showing "Device connected".  

I am suspecting this is an issue with the 4G connection, and possibly even the SIM card. However, the amount of devices having this error leads me to question if something else is going on.  The disconnecting of the devices is causing some issues with some of the real-time apps running on them.

If anyone has any suggestions on where to look next or preferably a solution it would be greatly appreciated.

7 years ago
Android
ANSWERS
RC
Raymond Chan Diamond Contributor
7 years ago (edited 7 years ago)

When you said the device get disconnected and connected every few minutes, did you just observe the "agent" status from "Device Configuration" tab in MobiControl agent?  What I mean is, is it possible that the 4G connection is actually always on? 

Under normal circumstances, your Mobicontrol agent will not turn off your 4G connection unless you deploy explicit script to the device to make that happen.   You may also need to check if any installed app on the device turn off the 4G link for power saving or other reasons.

Finally, depending on the Android version (especially 6.0+) and your firmware customization by Panasonic, it is possible that your MobiControl device agent is forced by the system firmware to doze mode for aggressive power saving.  If so, your 'agent' connection to MobiControl server reported by the agent may have that periodic disconnection/connection status.  You might then be able to solve the issue by turning off aggressive low-power mode, or disabling Doze mode if your device support it (e.g. newest Mobicontrol has such Feature-Control option for supported Android+ agent).  This, of course, will result in shorter battery life.

CP
Craig Prusansky
7 years ago

I will check all of those things and reply back here what I find.  Thank you very much for your reply.

CP
Craig Prusansky
7 years ago

I realized forgot to answer your question.   The device log (shown in the MobiControl WebConsole) was showing device disconnected and connected, so it is the agent, which I (possibly incorrectly) assumed meant that it was also losing the network connection.  

Thanks.

Hi Craig, 

There are 2 things that we can look at to get more information on the issue in the logs.  

1.  ADB logging 

2.  Verbose logging.  (Using the MobiControl Admin Utility)

Also, there is a way to make the connection more dependable by navigating to the device and right clicking it to access "Connection Settings" where you can override settings to make it persistent.  You can also play around with it to set at least 2 schedules where it requests that the agent connects 1 min after the other. ie 9am-9pm and 9pm- 9am.    Try this on a device or 2 and let me know if you have a different connection experience.

Lastly, I can suggest setting the agent to run in the foreground by sending a script to the device.  I have included it below.

foregroundmode

Switches the MobiControl service between foreground and background modes. While running in foreground mode the MobiControl process will receive high priority and will not be killed by the system.

While the service is running in foreground mode, a MobiControl icon will be displayed in the notification area.

Syntax:

foregroundmode enable|disable

To switch to foreground mode:

foregroundmode enable

To switch back to normal mode:

foregroundmode disable

If your still having connection issues after this, feel free to create a case with us my sending an e-mail to support@soti.net along with the logs and timing of the events captured and we will take a look at the circumstances that are causing the disconnection. 

Hope this helps,

RC
Raymond Chan Diamond Contributor
7 years ago (edited 7 years ago)

If you use network related apps (e.g. browser, youtube, facebook, etc.) non-stop for say 5-10 minutes,  will the disconnected status still be observed on the device agent and the server log tab? 

What about if you use non-network related apps (e.g. calculator, audio recorder, etc.) non-stop for say 5-10 minutes?

If the answer is no for the former and yes for the latter, the problem is  highly likely related to the low-power/doze mode that tries to optimize your network hardware power consumption.   You should then try to re-configure the low-power mode.  If there is no improvement after the reconfiguration, an relatively high battery consumption is not an issue, you can  consider adding a device-side out-of-contact payload in a new Android profile.  Set the timeout to be one or two minutes,  and set the script to include something like the following commands:

    setradioenable  phone 1

    setradioenable wifi 1

OR

  connect  -f

OR 

    setradioenable  phone 1

    setradioenable wifi 1

    connect  -f