Fdroid automatic updates on RPI
When attempting to get Fdroid to automatically refresh its repositories and automatically update an application I noticed that the UpdateServer job inside fdroid never executed.
I set the periodic interval to 1h (as per fdroid settings) and allowed fdroid to update on any network connectivity. The screen has a 30 second timeout. We are using a raspberry pi 3 model B+ with the official 7 inch screen. The device is licensed under a Business license. Fdroid has root access and the privileged extension is installed.
When using the dumpsys jobscheduler adb commnd to list jobs I can see the fdroid UpdateService job exists.
It has an Unsatisfied constraints with IDLE.
I can force run the job with: cmd jobscheduler run -f org.fdroid.fdroid 16702650 in the adb shell and it updates the application correctly.
From what I understand, the job is waiting for when Android signifies that the device is IDLE.
What conditions need to be met for the raspberry pi to be recognized as IDLE by Android. Is there a specific setting we need to set?