Public bug reported:
Binary package hint: apt-xapian-index
Currently apt-xapian-index uses a significant amount of cpu while updating. If
the battery level is low at the time of the update, the sudden increase in cpu
usage could lead to a loss of the users data.
I propose doing a check for if the system is running on battery, and postponing
the job until a later time.
/etc/cron.daily/mlocate checks for if on the battery, and could be used
as a basis.
It could be a better idea to request anacron implement a battery check
instead.
** Affects: apt-xapian-index (Ubuntu)
Importance: Undecided
Status: Invalid
--
update should avoid being run when on the battery
https://bugs.launchpad.net/bugs/579523
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs