Bug ID | 983925 |
---|---|
Summary | make check if computer runs on battery optional |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | Leap 42.1 |
Hardware | i686 |
OS | openSUSE 42.1 |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Maintenance |
Assignee | bnc-team-screening@forge.provo.novell.com |
Reporter | spam.catcher@t-online.de |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0 Build Identifier: In /etc/cron.hourly/0anacron , there is a check test -x /usr/bin/on_ac_power that does not start the anacron jobs if the computer runs on battery. This is neither documented nor expected. Also, the check depends on the existence of /usr/bin/on_ac_power , and few will know that as soon as /usr/bin/on_ac_power is installed, the anacron jobs will no longer start when the computer is on battery. This check, for each job, should instead be made by the user. Reproducible: Always Steps to Reproduce: 1. add anacron job 2. start anacron 3. run computer on battery Actual Results: the jobs does not start if computer runs on battery Expected Results: the jobs start if computer runs on battery