Bug 475205 - cron should be power aware; not run intensive jobs on battery
cron should be power aware; not run intensive jobs on battery
Product: Fedora
Classification: Fedora
Component: crontabs (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Marcela Mašláňová
Fedora Extras Quality Assurance
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2008-12-08 09:50 EST by Saikat Guha
Modified: 2009-02-06 09:59 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-02-06 09:59:16 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Saikat Guha 2008-12-08 09:50:09 EST
cron insists on running makewhatis and prelink, two processes that cause intensive disk activity, regardless of whether the laptop is connected to AC or not. While I like prelink, I don't like it nearly as much as having a low power drain.

IMO cron should check the AC state before starting jobs tagged as power hogs. It should defer them when on battery power. And run then once AC is reconnected.
Comment 1 Marcela Mašláňová 2009-02-06 09:59:16 EST
This is now checked between anacron started running jobs. If laptop is on battery, then the job won't be started and anacron will try next hour.

Note You need to log in before you can comment on or make changes to this bug.