<table><tr><td style="">bruns created this revision.<br />Herald added projects: Frameworks, Baloo.<br />Herald added subscribers: Baloo, kde-frameworks-devel.<br />bruns requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D21672">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>When the state defaults to AC-powered, the indexer may start some<br />
energy consuming tasks, only to stop these later when the pending<br />
DBus call finishes. Especially the content indexer can take a while<br />
to stop, until the current batch is finished.</p>
<p>In case the DBus call fails AC-powered is assumed, to match the previous<br />
default.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>unplug AC power<br />
start baloo_file<br />
-> the content indexer no longer processes its first batch</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R293 Baloo</div></div></div><br /><div><strong>BRANCH</strong><div><div>scheduler</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D21672">https://phabricator.kde.org/D21672</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/file/powerstatemonitor.cpp</div></div></div><br /><div><strong>To: </strong>bruns<br /><strong>Cc: </strong>kde-frameworks-devel, Baloo, LeGast00n, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams<br /></div>