Boinc doesn't start with power

Message boards : Android : Boinc doesn't start with power
Message board moderation

To post messages, you must log in.

AuthorMessage
Robert Duchene

Send message
Joined: 26 Apr 17
Posts: 1
Canada
Message 77611 - Posted: 26 Apr 2017, 3:06:58 UTC

VersiĆ³n 7.4.53 Android. Preferences autostart set on, power sources:wall, USB & wireless selected, however plugging it in no longer starts BOINC.
Cleared cache, uninstalled, etc. I have to manually start it to start computation.
Min battery level is 10%
Any ideas ?
ID: 77611 · Report as offensive
Profile Ageless
Volunteer moderator
Project administrator
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 12300
Netherlands
Message 77620 - Posted: 26 Apr 2017, 9:07:17 UTC - in response to Message 77611.  
Last modified: 26 Apr 2017, 9:08:01 UTC

On what kind of device, with which Android?
We do seem to have lots of problems running this client on later versions of Android, and until the volunteer Android developer releases a newer version - once we have gotten the account details of the Google Play Store from the developer who left - I doubt there's many fixes.

For a lot of people however, going back to 7.4.43 fixes most problems: https://boinc.berkeley.edu/dl/boinc_7.4.43.apk
(Can be installed by temporarily allowing Install from Unknown Sources from Settings ->Security)
Jord
Please do not private message me for tech support. Use the forums for that. Tech PMs will be ignored.

I'm only partially available, until further notice.
ID: 77620 · Report as offensive
Ecip

Send message
Joined: 28 May 17
Posts: 2
Canada
Message 78330 - Posted: 28 May 2017, 12:50:51 UTC - in response to Message 77620.  

Android 6.0.1 (Cm13) on Samsung Galaxy S5.

Same issue. Boinc will not run reliably anymore. First few days it worked fine, now however, when the phone is plugged in, it will not start unless the app is opened manually, and it will not compute for more than 30 to 60 minutes before saying "plug into power to continue computing", even though it is.

An update is definitely needed here.

It might have something to do with androids power management taking control of apps to save battery, but even setting the battery optimization for boinc to "not optimized" does nothing.

Might try the previous version of boinc and will report back if it works, and if it does, perhaps the newer version should be replaced by the older one in the play store; I'm sure pretty much everyone has this issue with the boinc Android client.
ID: 78330 · Report as offensive
Profile Ageless
Volunteer moderator
Project administrator
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 12300
Netherlands
Message 78332 - Posted: 28 May 2017, 16:08:56 UTC - in response to Message 78330.  

It might have something to do with androids power management taking control of apps to save battery, but even setting the battery optimization for boinc to "not optimized" does nothing.
I found in Nougat (Android 7), but it's possible that it's in 6 as well, that just setting BOINC on the 'not optimized' list does absolutely nothing. There are other settings, such as Apps->Settings->Configure apps->Special access, via which I had to set a couple of apps I want to continue when the display locks. It's possible this option is only available after you told your phone you're a developer, though. I fixed my permissions by adding Netguard as firewall, which had the option to set specific permissions built-in.

The other settings I had to change were under Battery->Close apps after screen lock->uncheck the ones that cannot close. And even with these settings in place it still happens that my apps auto-close 5 seconds after my screen locks.

Might try the previous version of boinc and will report back if it works, and if it does, perhaps the newer version should be replaced by the older one in the play store; I'm sure pretty much everyone has this issue with the boinc Android client.
That's not going to happen any time soon, because the developer who used to do the Android builds and add to the Google Play Store hasn't answered back yet on the new developers' request that he give the login for the Play Store. Until they have that, no one is going to change anything in that account.
Jord
Please do not private message me for tech support. Use the forums for that. Tech PMs will be ignored.

I'm only partially available, until further notice.
ID: 78332 · Report as offensive
Joe Zeff
Avatar

Send message
Joined: 4 Apr 13
Posts: 14
United States
Message 78338 - Posted: 28 May 2017, 21:13:08 UTC

Aha! That's what's wrong! For quite some time, now, I've been noticing that if I leave my phone unattended on the charger, BOINC will be suspended when I next check, but tapping the plug on the USB cable fixes it. Now, it's stopped responding to the point where the program doesn't even open from the main menu. I even tried force-quitting, and when that didn't work, restarted my phone with no change.

I have an LG Tribute 5 phone with Android 5.5.1 if that helps. I'll try downgrading to that version mentioned in another post and report back later. Thanx!
ID: 78338 · Report as offensive
Joe Zeff
Avatar

Send message
Joined: 4 Apr 13
Posts: 14
United States
Message 78340 - Posted: 28 May 2017, 22:53:16 UTC - in response to Message 77620.  

For a lot of people however, going back to 7.4.43 fixes most problems: https://boinc.berkeley.edu/dl/boinc_7.4.43.apk
(Can be installed by temporarily allowing Install from Unknown Sources from Settings ->Security)

I've downloaded the file and made the change to my Security Settings, but when I tap the file in Downloads, I'm simply told that the file can't be opened. Now what?
ID: 78340 · Report as offensive
Joe Zeff
Avatar

Send message
Joined: 4 Apr 13
Posts: 14
United States
Message 78342 - Posted: 29 May 2017, 1:28:11 UTC - in response to Message 78340.  

I tried uninstalling the current version, and that let me install the older one. Alas, it only includes two projects, neither of them being the two I want, and there's no way to specify anything else. Updating to a newer version through the Play Store gets me two different projects, but again, not the ones I want. I'm uninstalling it from my phone, as it's a waste of space right now, but am keeping it on my desktop, running Fedora 25. If I can get the program to accept the two projects I want, the World Community Grid and Einstein@home, I'll put it back on and let it do it's thing while I'm charging it.
ID: 78342 · Report as offensive
Joe Zeff
Avatar

Send message
Joined: 4 Apr 13
Posts: 14
United States
Message 78345 - Posted: 29 May 2017, 6:46:16 UTC - in response to Message 78342.  

OK, I found out what to do from a post in the World Community Grid forum. First, select a project, any project, and connect to it. Next, go to the Projects screen, tap the three dots in the top right corner and select Connect to a url. Enter the url of the project you want to connect to (including http:// or https:// as appropriate) and let it connect. Sign in or register. Lather, rinse, repeat as often as needed, then remove the dummy project if you're not interested in it. Not exactly obvious or intuitive, but so it goes.
ID: 78345 · Report as offensive
Joe Zeff
Avatar

Send message
Joined: 4 Apr 13
Posts: 14
United States
Message 78363 - Posted: 30 May 2017, 0:14:10 UTC - in response to Message 78345.  

Alas, Android "upgraded" BOINC to the non-working version last night. There doesn't seem to be a way to avoid this.
ID: 78363 · Report as offensive
Ecip

Send message
Joined: 28 May 17
Posts: 2
Canada
Message 78364 - Posted: 30 May 2017, 4:16:34 UTC - in response to Message 78363.  

Disable automatic updates for the boinc app in the play Store.
ID: 78364 · Report as offensive
Joe Zeff
Avatar

Send message
Joined: 4 Apr 13
Posts: 14
United States
Message 78402 - Posted: 31 May 2017, 2:41:05 UTC - in response to Message 78364.  

Thanx! It seems to be running right at the moment, but if it goes bad, I'll nuke it, install the old version and turn off the automatic updates. I didn't realize that I could do that. Live and learn!
ID: 78402 · Report as offensive

Message boards : Android : Boinc doesn't start with power

Copyright © 2018 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.