boinc icon indicating copy to clipboard operation
boinc copied to clipboard

Stationary device mode not available

Open cristipurdel opened this issue 3 years ago • 1 comments

Describe the bug Stationary device mode not available on Samsung J7V but is available on Samsung GS5 NEO. Min battery level is 10%, so I cannot use it with Samsung J7V (4% battery) to bypass the above error. Why this "feature"? I was running for the last 3 years without battery and old BOINC version 7.14. Again why this "feature"?

Steps To Reproduce 1. 2.

Expected behavior Put 0% instead of 10% "Min battery level" and enable on all devices to have the option "Stationary device mode"

Screenshots If applicable, add screenshots to help explain your problem.

System Information

  • OS:
  • BOINC Version:

Additional context Add any other context about the problem here.

cristipurdel avatar Nov 14 '21 14:11 cristipurdel

I checked on code " ./boinc/android/BOINC/app/src/main/java/edu/berkeley/boinc/client/DeviceStatus.java" The lines between 232 and 250. When the device is in "stationary device mode" we do not have any condition like min battery level check. Is this an old issue which is not exist latest version? Or am I missing something?

And inside the function setAttributesForStationaryDevice we already set the current battery percentage to 100%.

        status.setOnACPower(true);
        status.setBatteryTemperatureCelsius(0);
        status.setBatteryChargePct(100);

mcagriaksoy avatar Dec 04 '23 12:12 mcagriaksoy