Flow-Launcher / Flow.Launcher

:mag: Quick file search & app launcher for Windows with community-made plugins
https://flowlauncher.com
MIT License
8.17k stars 317 forks source link

Enable efficiency mode to reduce battery usage #2786

Open WhitespaceQ opened 5 months ago

WhitespaceQ commented 5 months ago

Is your feature request related to a problem? Please describe.

I noticed a small but measurable increase in power usage when not plugged-in after using Flow Launcher for a few weeks or so. Manually setting "Efficiency mode" to the flow launcher executable in Task Manager solves this.

Describe the solution you'd like

For Flow Launcher to automatically set itself on efficiency mode on start up.

Describe alternatives you've considered

Manually set Flow Launcher to efficiency mode every restart.

Additional context Firefox implementation: https://github.com/mozilla/gecko-dev/blob/30dfc0e2fcfec889f94fbd0ec5f20822c276c0fb/hal/windows/WindowsProcessPriority.cpp

Windows API reference: https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-setprocessinformation

taooceros commented 4 months ago

Will setting flow to efficiency mode make it slower?

WhitespaceQ commented 4 months ago

@taooceros I haven't noticed any performance degradation, opening via hotkeys is instantaneous as usual. This is after days of uptime and multiple sleep/wake cycle.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 60 days.\n\nAlternatively this issue can be kept open by adding one of the following labels:\nkeep-fresh

github-actions[bot] commented 3 weeks ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 60 days.\n\nAlternatively this issue can be kept open by adding one of the following labels:\nkeep-fresh

github-actions[bot] commented 2 weeks ago

This issue was closed because it has been stale for 7 days with no activity. If you feel this issue still needs attention please feel free to reopen.