On 11/21/09, Jack Lambert <[email protected]> wrote: > Are there hidden UPS options in BOINC somewhere?
BOINC has absolutely no idea what an UPS is. And I don't even know if the “is laptop using batteries” feature works correctly in all laptops and all platforms. > When the computer has been on UPS power for greater than 5sec OR the battery > is less than 60% full, suspend all projects AND put all projects in No New > Tasks mode. When the comp has been on UPS power for greater than one minute > OR the battery is at 50% or lower, run the update command on all projects > (this way the completed ones can be uploaded before system shutdown.) I > plan to get battery backups for my network equipment someday. Once the > update command for all projects has finished shutdown boinc. System shutdown > is at 30% battery power. Your needs would probably amount to adding half a dozen more preferences to BOINC (we can't hardcode all those percentages!), or maybe a whole scripting language. > I am aware that the software for dealing with UPS is inconsistent across > operating systems and UPS manufacturers, but I think that this improvement > to boinc would be really useful. Even if you can't support my specific > situation I think a lot of people would be grateful if future releases of > boinc had even basic compatibility with the built-in UPS software most > operating systems have now. I strongly disagree with adding UPS-specific code to BOINC. What would be nice is having a separate program that watches the UPS and tells BOINC to suspend. It would have to be *completely* different for each platform and UPS brand... In my case, I would need a shell script that can be run by apcupsd on Linux. Maybe on other systems you would need a plugin that gets loaded by the silly bloated software included by the UPS. -- Nicolas _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
