[FileIndexScheduler] Emit change to LowPowerIdle state
ClosedPublic

Authored by bruns on Mon, Mar 23, 10:59 PM.

Details

Summary

The state update is emitted from scheduleIndexing. Trigger it also
on changes to battery powered.

The change is mostly cosmetic, as the power state is evaluated correctly
before starting the content indexer.

Test Plan
  1. balooctl monitor
  2. plug/unplug power

State changes between Idle/LowPowerIdle

Diff Detail

Repository
R293 Baloo
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bruns created this revision.Mon, Mar 23, 10:59 PM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptMon, Mar 23, 10:59 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
bruns requested review of this revision.Mon, Mar 23, 10:59 PM
ngraham accepted this revision.Tue, Mar 24, 4:14 AM

Nice catch.

This revision is now accepted and ready to land.Tue, Mar 24, 4:14 AM
This revision was automatically updated to reflect the committed changes.