GNOME Bugzilla – Bug 395803
Throttle indexer based on power state.
Last modified: 2010-03-16 12:08:27 UTC
It would be nice if the indexer only ran at full speed when AC power is available. A throttled mode or a mode that only handles change notifications would be activated when running on battery power. Power information is available from HAL or from the gnome-power-manager DBus API. I believe Richard Hughes has said on his blog that he's trying to get his API approved as a freedesktop.org standard.
Also indexing should be suspended when users are logged in and resumed when all users log out. And resume while screen is locked, but suspended again when screen is unlocked. I suggest renaming the bug to "Intelligent control of the indexing process", to make it more generic.
(In reply to comment #1) > Also indexing should be suspended when users are logged in and resumed when all > users log out. And resume while screen is locked, but suspended again when > screen is unlocked. > > I suggest renaming the bug to "Intelligent control of the indexing process", to > make it more generic. this could be set with an optional parameter. The problem is that some users (like me) do not leave their machines logged off and powered on or have screen locking activated. By all means we should make indexing faster when it is logged off or screen is locked
Can the reporter of this bug set the _version_ so we can target bugs to work on more easily please. We can also have an idea about if these bugs are likely to be obsolete too. If you don't set the version, we are less likely to look at them. Sorry for the spam, but I don't want to say this 88 times on each bug :)
Martyn, I'm not sure which version was in GNOME 2.22, but that was the stable release at the time I made this report. Adam
(In reply to comment #4) > Martyn, > > I'm not sure which version was in GNOME 2.22, but that was the stable release > at the time I made this report. > > Adam Hi Adam, We currently do this actually, (now that I look at the report in more detail). Marking this as fixed.