D21541: [FileIndexScheduler] Add new state for Idle on battery

Stefan BrĂ¼ns noreply at phabricator.kde.org
Sun Jun 2 11:33:55 BST 2019


bruns created this revision.
bruns added reviewers: Baloo, ngraham, astippich.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.

REVISION SUMMARY
  When the system is running on battery, the content indexing is suspended
  to conserve power. Expose the state for `balooctl monitor` and
  `balooctl status`:
  
    Press ctrl+c to stop monitoring
    File indexer is running
    Idle
      (AC power disconnected)
    Idle (Powersave)
    Indexing modified files
    Idle (Powersave)
      (AC power reconnected)
    Indexing file content
    Indexing: /home/stefan/logs/freenode_#kde-devel.log: Ok
    Idle
  
    Baloo File Indexer is running
    Indexer state: Idle (Powersave)
    Total files indexed: 4561
    Files waiting for content indexing: 1
  
  Depends on D21540 <https://phabricator.kde.org/D21540>

TEST PLAN
  run `balooctl monitor`, unplug/plug AC power

REPOSITORY
  R293 Baloo

BRANCH
  scheduler_powersave

REVISION DETAIL
  https://phabricator.kde.org/D21541

AFFECTED FILES
  src/file/fileindexscheduler.cpp
  src/file/fileindexscheduler.h
  src/file/indexerstate.h

To: bruns, #baloo, ngraham, astippich
Cc: kde-frameworks-devel, gennad, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190602/bab86ac6/attachment.html>


More information about the Kde-frameworks-devel mailing list