Bug 249828

Summary: akonadi_nepomuk_email_feeder doesn't suspend on batteries.
Product: [Frameworks and Libraries] Akonadi Reporter: Alejandro Nova <alejandronova>
Component: Nepomuk Feeder AgentsAssignee: Tobias Koenig <tokoe>
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: kdepim-bugs, kfunk, vkrause
Priority: NOR    
Version: 4.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: relevant part of .xsession-errors

Description Alejandro Nova 2010-09-02 05:54:16 UTC
Version:           4.5 (using KDE 4.5.0) 
OS:                Linux

Nepomuk has a feature to suspend Strigi indexing when the system is running on batteries or is low on resources. This was explained because, in KDE ~4.3, the only CPU/HDD-intensive task that Nepomuk could do was Strigi indexing. However, in KDE 4.5, I can easily halt a system while retrieving huge mail inboxes and processing them with akonadi_nepomuk_email_feeder. There aren't checks to prevent that akonadi_nepomuk_email_feeder runs only when the system can handle a heavy load. I want those checks in place.

Reproducible: Didn't try

Steps to Reproduce:
Irrelevant - wish.



I'm with Akonadi/KDE-PIM 4.5 beta 3.
Comment 1 Alejandro Nova 2011-01-28 21:44:35 UTC
KDE 4.6: I cannot halt a system with akonadi_nepomuk_email_feeder anymore (a testament to the massive bugfixing work there), but it still eats my battery indexing mail when it wants to.
Comment 2 Franz Trischberger 2011-02-18 21:20:24 UTC
Created attachment 57361 [details]
relevant part of .xsession-errors
Comment 3 Franz Trischberger 2011-02-18 21:23:14 UTC
Oops, sry...
I entered a comment to antother bug, and the page after sending was this bug and not the other one. So I attached the file to the wrong bug. Weird...
Sorry!
Comment 4 Alejandro Nova 2011-11-28 17:44:02 UTC
Irrelevant in KDE 4.8 trunk - mail indexing doesn't take that long anymore.