[FileIndexScheduler] Emit change to LowPowerIdle state
ClosedPublic

Authored by bruns on Mar 23 2020, 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
Branch
submit
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 24125
Build 24143: arc lint + arc unit
bruns created this revision.Mar 23 2020, 10:59 PM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptMar 23 2020, 10:59 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
bruns requested review of this revision.Mar 23 2020, 10:59 PM
ngraham accepted this revision.Mar 24 2020, 4:14 AM

Nice catch.

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