Red Hat Bugzilla – Bug 134842
Suggestion not to run prelink, updatedb when laptop is battery powered
Last modified: 2011-07-26 21:54:45 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Description of problem:
I have an idea,
when laptop is battery powered the cron daily tasks should be started
after user confirmation. User should have choice not to run this power
consiming processes unless his laptop is plugged to AC outlet.
I imagine such requester:
Your machine is battery powered now. Do you allow to run cron daily
power consuming tasks (prelink, slocatedb, rpmdb) now?
Yes: Run it now! No: run it later No: run it when AC powered
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Actual Results: prelink eat about 20% of my battery
Expected Results: opposite to actual
Well, that is a request for laptop aware anacron and/or cron, I don't
see this as something prelink or updatedb or other cron tasks
should be handling.
Well, it cron/anacron has some flag how to say this job takes a long
time, that could be set, sure.
BTW, prelink in rawhide should eat less CPU and be faster, in -q mode.
*** Bug 134843 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 125779 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.
Is it possible to reopen this? It links to a duplicate-marked bug which links to another duplicate which is #190268 which doesn't appear to be clearly related, and also is resolved while this issue appears to be clearly not: I'm on F15 and it happily runs prelink right now although I'm just on battery which is quite odd.
Or is this feature actually supposed to be already implemented and working and is it just bugging for me now?