be  de  fr  it  nl  pl  pt  ru  sv  tr  uk  zh  en  

Keep functioning

Normally when an android device is not used, it enters doze mode to use less energy. If you need to reliably receive glucose values via Bluetooth or TCP/IP you need to switch off battery optimizations for Juggluco, and sometimes also switch off some battery optimizations for the whole device, to prevent that Android switches off Juggluco. A lot of devices have additional battery optimization, activity in the background and start at boot settings that have to be changed. You can find them under Android settings->Battery. See https://dontkillmyapp.com.

When using Watch 4, 5, 6 or 7, you have to Allow background activity in the Galaxy Wearable companion app, Watch settings->Apps->Juggluco. For watches that don't have this setting, you can use the following command from your computer:

adb shell cmd appops set tk.glucodata RUN_IN_BACKGROUND allow

To disable doze mode:

adb shell dumpsys deviceidle disable

Information about adb