Giter Site home page Giter Site logo

powersaver's Introduction

Power Saver

Manages Windows Power Plans automatically based on running process names.

The Power Saver will set the power plan to Balanced if the running processes match a provided list, the plan is set to Power Saver otherwise. This can save and regulate the consumed energy of a Windows system to reduce your electricity bill and cooling requirements because the performance is force-throttled if you do not need it.

The benefits of an automatic power plan selection can be increased by customizing your Power Saver plan to limit the resource consumption even further (e.g. max CPU usage: 60%).

The spawned process is hidden and will react to its changed configuration file automatically. A tray icon is displayed to indicate the current power level (green = saving and orange = balanced). Additionally, the tray icon provides the ability to force a specific power level among other useful options.

Configuration

The configuration file path is detected as following

  1. The first program argument if provided
  2. The POWER_SAVER_CONFIG_PATH environment variable, if set.
  3. A powersaver.yaml that is located next to the executable.

The configuration file is simple:

# Process pooling time in seconds
interval: 30

# Case insensitive program names that promote the current
# power scheme to "Balanced", otherwise "Power Saver" is set.
balanced:
  - Unreal
  - Blender
  - devenv

File changes are detected automatically and adjust the power plan instantly!

Building

cargo build --release

powersaver's People

Contributors

naios avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.