[Android Apps and Games] prorokrak:
On my Samsung Galaxy S4 I had set this schedule:

Every Monday and Thursday at 4:00 AM. Condition: "Power connected".​

After writing my post I have adjusted the schedule so that the synchronization runs every day at 4:00 AM. Interestingly, after this adjustment, I have experienced some successful synchronizations :)

As you can see in the log below, some days the synchronization occurs at random times.

On May 27th it ran at 6:25 AM - with 2,5 hour delay.

On June 2nd it ran at 23:49.

On May 28th and 29th and on June 3rd it ran in scheduled time.

It did not run on May 30th, May 31th and June 1st. In one of these days I probably did not charge the phone (so the Power Connected condition was not fullfiled) but it was definitely not true during all these days. :confused:

2015-05-27 06:25:09 [sync] [Synchronizovať knihy] - Started

2015-05-27 06:25:09 [sync] [Synchronizovať knihy] - Checking free space temp folder (available: 32.32 GB).

2015-05-27 06:25:09 [sync] [Synchronizovať knihy] - Keep alive lock set.

2015-05-27 06:25:09 [sync] [Synchronizovať knihy] - Wifi lock set.

2015-05-27 06:25:10 [sync] [Synchronizovať knihy] - Preparing connection.

2015-05-27 06:25:10 [sync] [Synchronizovať knihy] - Connecting.

2015-05-27 06:25:10 [sync] [Synchronizovať knihy] - Creating jobs list.

2015-05-27 06:25:10 [sync] [Synchronizovať knihy] - Processing root folder.

2015-05-27 06:25:11 [sync] [Synchronizovať knihy] - folder: /

2015-05-27 06:25:11 [sync] [Synchronizovať knihy] - Not allowed folder: /storage/emulated/0/Books/MoonReader/

2015-05-27 06:25:11 [sync] [Synchronizovať knihy] - folder: /6 Brozury/

2015-05-27 06:25:12 [sync] [Synchronizovať knihy] - folder: /4 SV verejnost/

2015-05-27 06:25:13 [sync] [Synchronizovať knihy] - folder: /3 Knihy/

2015-05-27 06:25:13 [sync] [Synchronizovať knihy] - folder: /2 NSK/

2015-05-27 06:25:13 [sync] [Synchronizovať knihy] - Skipped folder: /storage/emulated/0/Books/.MoonReader/

2015-05-27 06:25:13 [sync] [Synchronizovať knihy] - folder: /1 SV studijna/

2015-05-27 06:25:14 [sync] [Synchronizovať knihy] - folder: /5 Prebudte sa/

2015-05-27 06:25:14 [sync] [Synchronizovať knihy] - folder: /Ine/

2015-05-27 06:25:15 [sync] [Synchronizovať knihy] - Not allowed folder: /Books/MoonReader/

2015-05-27 06:25:15 [sync] [Synchronizovať knihy] - Processing folder '/6 Brozury'.

2015-05-27 06:25:17 [sync] [Synchronizovať knihy] - Processing folder '/4 SV verejnost'.

2015-05-27 06:25:17 [sync] [Synchronizovať knihy] - Processing folder '/3 Knihy'.

2015-05-27 06:25:19 [sync] [Synchronizovať knihy] - Processing folder '/2 NSK'.

2015-05-27 06:25:20 [sync] [Synchronizovať knihy] - Processing folder '/1 SV studijna'.

2015-05-27 06:25:21 [sync] [Synchronizovať knihy] - Processing folder '/5 Prebudte sa'.

2015-05-27 06:25:22 [sync] [Synchronizovať knihy] - Processing folder '/Ine'.

2015-05-27 06:25:23 [sync] [Synchronizovať knihy] - Clean database.

2015-05-27 06:25:23 [sync] [Synchronizovať knihy] - Disconnecting.

2015-05-27 06:25:23 [sync] [Synchronizovať knihy] - Done.

2015-05-27 06:25:23 [sync] [Synchronizovať knihy] - Stopped

2015-05-28 04:00:01 [sync] [Synchronizovať knihy] - Started

2015-05-28 04:00:01 [sync] [Synchronizovať knihy] - Checking free space temp folder (available: 32.32 GB).

2015-05-28 04:00:01 [sync] [Synchronizovať knihy] - Keep alive lock set.

2015-05-28 04:00:01 [sync] [Synchronizovať knihy] - Wifi lock set.

2015-05-28 04:00:01 [sync] [Synchronizovať knihy] - Preparing connection.

2015-05-28 04:00:01 [sync] [Synchronizovať knihy] - Connecting.

2015-05-28 04:00:01 [sync] [Synchronizovať knihy] - Creating jobs list.

2015-05-28 04:00:01 [sync] [Synchronizovať knihy] - Processing root folder.

2015-05-28 04:00:03 [sync] [Synchronizovať knihy] - folder: /

2015-05-28 04:00:03 [sync] [Synchronizovať knihy] - Not allowed folder: /storage/emulated/0/Books/MoonReader/

2015-05-28 04:00:03 [sync] [Synchronizovať knihy] - folder: /6 Brozury/

2015-05-28 04:00:03 [sync] [Synchronizovať knihy] - folder: /4 SV verejnost/

2015-05-28 04:00:04 [sync] [Synchronizovať knihy] - folder: /3 Knihy/

2015-05-28 04:00:04 [sync] [Synchronizovať knihy] - folder: /2 NSK/

2015-05-28 04:00:05 [sync] [Synchronizovať knihy] - Skipped folder: /storage/emulated/0/Books/.MoonReader/

2015-05-28 04:00:05 [sync] [Synchronizovať knihy] - folder: /1 SV studijna/

2015-05-28 04:00:06 [sync] [Synchronizovať knihy] - folder: /5 Prebudte sa/

2015-05-28 04:00:06 [sync] [Synchronizovať knihy] - folder: /Ine/

2015-05-28 04:00:06 [sync] [Synchronizovať knihy] - Not allowed folder: /Books/MoonReader/

2015-05-28 04:00:07 [sync] [Synchronizovať knihy] - Processing folder '/6 Brozury'.

2015-05-28 04:00:08 [sync] [Synchronizovať knihy] - Processing folder '/4 SV verejnost'.

2015-05-28 04:00:09 [sync] [Synchronizovať knihy] - Processing folder '/3 Knihy'.

2015-05-28 04:00:10 [sync] [Synchronizovať knihy] - Processing folder '/2 NSK'.

2015-05-28 04:00:11 [sync] [Synchronizovať knihy] - Processing folder '/1 SV studijna'.

2015-05-28 04:00:12 [sync] [Synchronizovať knihy] - Processing folder '/5 Prebudte sa'.

2015-05-28 04:00:13 [sync] [Synchronizovať knihy] - Processing folder '/Ine'.

2015-05-28 04:00:14 [sync] [Synchronizovať knihy] - Clean database.

2015-05-28 04:00:14 [sync] [Synchronizovať knihy] - Disconnecting.

2015-05-28 04:00:14 [sync] [Synchronizovať knihy] - Done.

2015-05-28 04:00:14 [sync] [Synchronizovať knihy] - Stopped

2015-05-29 04:00:00 [sync] [Synchronizovať knihy] - Started

2015-05-29 04:00:00 [sync] [Synchronizovať knihy] - Checking free space temp folder (available: 32.32 GB).

2015-05-29 04:00:00 [sync] [Synchronizovať knihy] - Keep alive lock set.

2015-05-29 04:00:00 [sync] [Synchronizovať knihy] - Wifi lock set.

2015-05-29 04:00:00 [sync] [Synchronizovať knihy] - Preparing connection.

2015-05-29 04:00:00 [sync] [Synchronizovať knihy] - Connecting.

2015-05-29 04:00:00 [sync] [Synchronizovať knihy] - Creating jobs list.

2015-05-29 04:00:00 [sync] [Synchronizovať knihy] - Processing root folder.

2015-05-29 04:00:01 [sync] [Synchronizovať knihy] - folder: /

2015-05-29 04:00:01 [sync] [Synchronizovať knihy] - Not allowed folder: /storage/emulated/0/Books/MoonReader/

2015-05-29 04:00:01 [sync] [Synchronizovať knihy] - folder: /6 Brozury/

2015-05-29 04:00:02 [sync] [Synchronizovať knihy] - folder: /4 SV verejnost/

2015-05-29 04:00:02 [sync] [Synchronizovať knihy] - folder: /3 Knihy/

2015-05-29 04:00:03 [sync] [Synchronizovať knihy] - folder: /2 NSK/

2015-05-29 04:00:03 [sync] [Synchronizovať knihy] - Skipped folder: /storage/emulated/0/Books/.MoonReader/

2015-05-29 04:00:04 [sync] [Synchronizovať knihy] - folder: /1 SV studijna/

2015-05-29 04:00:04 [sync] [Synchronizovať knihy] - folder: /5 Prebudte sa/

2015-05-29 04:00:05 [sync] [Synchronizovať knihy] - folder: /Ine/

2015-05-29 04:00:05 [sync] [Synchronizovať knihy] - Not allowed folder: /Books/MoonReader/

2015-05-29 04:00:06 [sync] [Synchronizovať knihy] - Processing folder '/6 Brozury'.

2015-05-29 04:00:07 [sync] [Synchronizovať knihy] - Processing folder '/4 SV verejnost'.

2015-05-29 04:00:07 [sync] [Synchronizovať knihy] - copy (1): "wp_V_20150801.epub".

2015-05-29 04:00:13 [sync] [Synchronizovať knihy] - Processing folder '/3 Knihy'.

2015-05-29 04:00:14 [sync] [Synchronizovať knihy] - Processing folder '/2 NSK'.

2015-05-29 04:00:15 [sync] [Synchronizovať knihy] - Processing folder '/1 SV studijna'.

2015-05-29 04:00:17 [sync] [Synchronizovať knihy] - Processing folder '/5 Prebudte sa'.

2015-05-29 04:00:18 [sync] [Synchronizovať knihy] - Processing folder '/Ine'.

2015-05-29 04:00:18 [sync] [Synchronizovať knihy] - Clean database.

2015-05-29 04:00:18 [sync] [Synchronizovať knihy] - Disconnecting.

2015-05-29 04:00:18 [sync] [Synchronizovať knihy] - Done.

2015-05-29 04:00:19 [sync] [Synchronizovať knihy] - Stopped

2015-06-02 23:49:13 [sync] [Synchronizovať knihy] - Started

2015-06-02 23:49:13 [sync] [Synchronizovať knihy] - Checking free space temp folder (available: 32.3 GB).

2015-06-02 23:49:13 [sync] [Synchronizovať knihy] - Keep alive lock set.

2015-06-02 23:49:13 [sync] [Synchronizovať knihy] - Wifi lock set.

2015-06-02 23:49:13 [sync] [Synchronizovať knihy] - Preparing connection.

2015-06-02 23:49:14 [sync] [Synchronizovať knihy] - Connecting.

2015-06-02 23:49:14 [sync] [Synchronizovať knihy] - Creating jobs list.

2015-06-02 23:49:14 [sync] [Synchronizovať knihy] - Processing root folder.

2015-06-02 23:49:18 [sync] [Synchronizovať knihy] - folder: /

2015-06-02 23:49:18 [sync] [Synchronizovať knihy] - Not allowed folder: /storage/emulated/0/Books/MoonReader/

2015-06-02 23:49:18 [sync] [Synchronizovať knihy] - folder: /6 Brozury/

2015-06-02 23:49:20 [sync] [Synchronizovať knihy] - folder: /4 SV verejnost/

**2015-06-02 23:49:51 [sync] [Synchronizovať knihy] - Synchronizing error: java.net.SocketTimeoutException: Read timed out.**

2015-06-02 23:49:51 [sync] [Synchronizovať knihy] - Stopped

2015-06-03 04:00:00 [sync] [Synchronizovať knihy] - Started

2015-06-03 04:00:00 [sync] [Synchronizovať knihy] - Checking free space temp folder (available: 32.3 GB).

2015-06-03 04:00:00 [sync] [Synchronizovať knihy] - Keep alive lock set.

2015-06-03 04:00:00 [sync] [Synchronizovať knihy] - Wifi lock set.

2015-06-03 04:00:00 [sync] [Synchronizovať knihy] - Preparing connection.

2015-06-03 04:00:00 [sync] [Synchronizovať knihy] - Connecting.

2015-06-03 04:00:00 [sync] [Synchronizovať knihy] - Creating jobs list.

2015-06-03 04:00:00 [sync] [Synchronizovať knihy] - Processing root folder.

2015-06-03 04:00:01 [sync] [Synchronizovať knihy] - folder: /

2015-06-03 04:00:01 [sync] [Synchronizovať knihy] - Not allowed folder: /storage/emulated/0/Books/MoonReader/

2015-06-03 04:00:02 [sync] [Synchronizovať knihy] - folder: /6 Brozury/

2015-06-03 04:00:02 [sync] [Synchronizovať knihy] - folder: /4 SV verejnost/

2015-06-03 04:00:03 [sync] [Synchronizovať knihy] - folder: /3 Knihy/

2015-06-03 04:00:03 [sync] [Synchronizovať knihy] - folder: /2 NSK/

2015-06-03 04:00:04 [sync] [Synchronizovať knihy] - Skipped folder: /storage/emulated/0/Books/.MoonReader/

2015-06-03 04:00:04 [sync] [Synchronizovať knihy] - folder: /1 SV studijna/

2015-06-03 04:00:04 [sync] [Synchronizovať knihy] - folder: /5 Prebudte sa/

2015-06-03 04:00:05 [sync] [Synchronizovať knihy] - folder: /Ine/

2015-06-03 04:00:05 [sync] [Synchronizovať knihy] - Not allowed folder: /Books/MoonReader/

2015-06-03 04:00:06 [sync] [Synchronizovať knihy] - Processing folder '/6 Brozury'.

2015-06-03 04:00:07 [sync] [Synchronizovať knihy] - Processing folder '/4 SV verejnost'.

2015-06-03 04:00:08 [sync] [Synchronizovať knihy] - Processing folder '/3 Knihy'.

2015-06-03 04:00:09 [sync] [Synchronizovať knihy] - Processing folder '/2 NSK'.

2015-06-03 04:00:11 [sync] [Synchronizovať knihy] - Processing folder '/1 SV studijna'.

2015-06-03 04:00:12 [sync] [Synchronizovať knihy] - Processing folder '/5 Prebudte sa'.

2015-06-03 04:00:13 [sync] [Synchronizovať knihy] - Processing folder '/Ine'.

2015-06-03 04:00:13 [sync] [Synchronizovať knihy] - Clean database.

2015-06-03 04:00:13 [sync] [Synchronizovať knihy] - Disconnecting.

2015-06-03 04:00:13 [sync] [Synchronizovať knihy] - Done.

2015-06-03 04:00:13 [sync] [Synchronizovať knihy] - Stopped

___________________________________

On my Samsung Galaxy Tab S (I have rooted it in the meantime, still on stock) I have very similar schedule set.

Every day on 3:00 AM with no condition.​

As you can see in the log below, it ran only two times, and in both cases the synchronization ran in different times, not in the times it was supposed to.

On May 27th to May 30th, June 1st and June 3rd it did not run at all

On May 31st it ran it 4:06 AM (with 66 minutes delay)

On June 2nd it ran at 14:25.

2015-05-31 04:06:36 [sync] [Knihy do Dropbox] - Started

2015-05-31 04:06:36 [sync] [Knihy do Dropbox] - Checking free space temp folder (available: 3.15 GB).

2015-05-31 04:06:36 [sync] [Knihy do Dropbox] - Keep alive lock set.

2015-05-31 04:06:36 [sync] [Knihy do Dropbox] - Wifi lock set.

2015-05-31 04:06:36 [sync] [Knihy do Dropbox] - Preparing connection.

2015-05-31 04:06:36 [sync] [Knihy do Dropbox] - Connecting.

2015-05-31 04:06:36 [sync] [Knihy do Dropbox] - Creating jobs list.

2015-05-31 04:06:36 [sync] [Knihy do Dropbox] - Loading root folder.

2015-05-31 04:06:37 [sync] [Knihy do Dropbox] - folder: /

2015-05-31 04:06:37 [sync] [Knihy do Dropbox] - Skipped folder: /storage/extSdCard/Books/.MoonReader/

2015-05-31 04:06:37 [sync] [Knihy do Dropbox] - folder: /2 NSK/

2015-05-31 04:06:38 [sync] [Knihy do Dropbox] - folder: /6 Brozury/

2015-05-31 04:06:38 [sync] [Knihy do Dropbox] - folder: /1 SV studijna/

2015-05-31 04:06:38 [sync] [Knihy do Dropbox] - folder: /3 Knihy/

2015-05-31 04:06:39 [sync] [Knihy do Dropbox] - Not allowed folder: /storage/extSdCard/Books/MoonReader/

2015-05-31 04:06:39 [sync] [Knihy do Dropbox] - folder: /5 Prebudte sa/

2015-05-31 04:06:39 [sync] [Knihy do Dropbox] - folder: /4 SV verejnost/

2015-05-31 04:06:39 [sync] [Knihy do Dropbox] - folder: /Ine/

2015-05-31 04:06:40 [sync] [Knihy do Dropbox] - Skipped folder: /storage/extSdCard/Books/.cr3sync/

2015-05-31 04:06:40 [sync] [Knihy do Dropbox] - Processing folder '/2 NSK'.

2015-05-31 04:06:41 [sync] [Knihy do Dropbox] - Processing folder '/6 Brozury'.

2015-05-31 04:06:42 [sync] [Knihy do Dropbox] - Processing folder '/1 SV studijna'.

2015-05-31 04:06:43 [sync] [Knihy do Dropbox] - Processing folder '/3 Knihy'.

2015-05-31 04:06:44 [sync] [Knihy do Dropbox] - Processing folder '/5 Prebudte sa'.

2015-05-31 04:06:44 [sync] [Knihy do Dropbox] - Processing folder '/4 SV verejnost'.

2015-05-31 04:06:45 [sync] [Knihy do Dropbox] - Processing folder '/Ine'.

2015-05-31 04:06:45 [sync] [Knihy do Dropbox] - Clean database.

2015-05-31 04:06:45 [sync] [Knihy do Dropbox] - Disconnecting.

2015-05-31 04:06:45 [sync] [Knihy do Dropbox] - Done.

2015-05-31 04:06:45 [sync] [Knihy do Dropbox] - Stopped

2015-06-02 14:25:20 [sync] [Knihy do Dropbox] - Started

2015-06-02 14:25:20 [sync] [Knihy do Dropbox] - Checking free space temp folder (available: 3.11 GB).

2015-06-02 14:25:20 [sync] [Knihy do Dropbox] - Keep alive lock set.

2015-06-02 14:25:20 [sync] [Knihy do Dropbox] - Wifi lock set.

2015-06-02 14:25:20 [sync] [Knihy do Dropbox] - Preparing connection.

2015-06-02 14:25:20 [sync] [Knihy do Dropbox] - Connecting.

2015-06-02 14:25:20 [sync] [Knihy do Dropbox] - Creating jobs list.

2015-06-02 14:25:20 [sync] [Knihy do Dropbox] - Loading root folder.

2015-06-02 14:25:21 [sync] [Knihy do Dropbox] - folder: /

2015-06-02 14:25:21 [sync] [Knihy do Dropbox] - Skipped folder: /storage/extSdCard/Books/.MoonReader/

2015-06-02 14:25:21 [sync] [Knihy do Dropbox] - folder: /2 NSK/

2015-06-02 14:25:22 [sync] [Knihy do Dropbox] - folder: /6 Brozury/

2015-06-02 14:25:22 [sync] [Knihy do Dropbox] - folder: /1 SV studijna/

2015-06-02 14:25:22 [sync] [Knihy do Dropbox] - folder: /3 Knihy/

2015-06-02 14:25:23 [sync] [Knihy do Dropbox] - Not allowed folder: /storage/extSdCard/Books/MoonReader/

2015-06-02 14:25:23 [sync] [Knihy do Dropbox] - folder: /5 Prebudte sa/

2015-06-02 14:25:23 [sync] [Knihy do Dropbox] - folder: /4 SV verejnost/

2015-06-02 14:25:23 [sync] [Knihy do Dropbox] - folder: /Ine/

2015-06-02 14:25:24 [sync] [Knihy do Dropbox] - Skipped folder: /storage/extSdCard/Books/.cr3sync/

2015-06-02 14:25:24 [sync] [Knihy do Dropbox] - Processing folder '/2 NSK'.

2015-06-02 14:25:25 [sync] [Knihy do Dropbox] - Processing folder '/6 Brozury'.

2015-06-02 14:25:26 [sync] [Knihy do Dropbox] - Processing folder '/1 SV studijna'.

2015-06-02 14:25:27 [sync] [Knihy do Dropbox] - Processing folder '/3 Knihy'.

2015-06-02 14:25:28 [sync] [Knihy do Dropbox] - Processing folder '/5 Prebudte sa'.

2015-06-02 14:25:28 [sync] [Knihy do Dropbox] - Processing folder '/4 SV verejnost'.

2015-06-02 14:25:29 [sync] [Knihy do Dropbox] - Processing folder '/Ine'.

2015-06-02 14:25:30 [sync] [Knihy do Dropbox] - Clean database.

2015-06-02 14:25:30 [sync] [Knihy do Dropbox] - Disconnecting.

2015-06-02 14:25:30 [sync] [Knihy do Dropbox] - Done.

2015-06-02 14:25:30 [sync] [Knihy do Dropbox] - Stopped

No, I didn't. I understand the concept of how the applications are being closed by Android. In notification drawer, I have the Synchronize Ultimate Running... notification. For exiting I use Home button.

______________________

After running a profile and leaving the phone / tablet without doing anything for an hour or two, the battery level dropped unusually quickly. After looking at the Battery in Android settings the Synchronize Ultimate app was on the top of battery consuming processes. After tapping on the app in the Battery settings, there was the information on Stay awake time, CPU usage, and so on. The Stay awake time was the hour or two (that just passed from the moment when the profile run). Well, actually, maybe I have mixed up the terms "wifi lock" and "stay awake lock".

For clarity, I would like to mention that when I ran the profile, the synchronization was done very quickly and it finished - there were actually only few MB to upload to Dropbox. Therefore, there was no reason to keep the stay awake lock.

For now the behaviour is much less common than it used to be. Maybe some recent update helped. But still, it occurs occasionaly. For example today it happened at my Galaxy S IV.

Today in the morning I have noticed that battery level drops very quickly. In 3 hours after the power was disconnected the battery dropped some 30%. So I went to the Battery settings. The main battery drainer was Synchronize Ultimate. I have made the screenshots. On the screenshots you can see that the app kept my device awake. Then I closed the app (force close). After another 5 hours I took another screenshots to ilustrate clearly that after exiting Synchronize Ultimate the battery drain stopped and the device has not been kept awake.

--------------------------

One thing that could be worth to mention.

I try to save the battery as much as possible. So I have set in the Wi-Fi Settings Keep Wi-Fi on during sleep to Only when connected. I have also unchecked Always allow scanning option. With these settings the device is in Deep Sleep mode considerably long time. Probably because of these settings I usually receive e-mail notifications only when I start using the device not immediately when the e-mail arrives (it's OK for me).

But AFAIK if the device is on power it should not go to Deep Sleep mode. And my Galaxy Tab S was on power whole night on June 2nd and also on June 3rd. But the synchronization did not run in the scheduled time.

I have Greenify installed on both devices but I did not set it to greenify Synchronize Ultimate. I have also Amplify Free installed, but I have limited only NlpWakeLock and NlpCollectorWakeLock wakelocks and com.google.android.gms.nlp.ALARM_WAKEUP_ACTIVITY_DEETECTION alarm (you cannot limit anything else in the free version). On my Galaxy Tab S I have also DU Battery Saver Free installed (for testing purposes I am going to uninstall the app). Other than that I do not use any battery saving apps.