Giter Club home page Giter Club logo

lenovolegiontoolkit's Introduction

Lenovo Legion Toolkit

Build Join Discord

This is a utility created for Lenovo Legion 5, 5 Pro, 7 etc. laptops, that allows to change a couple of features that are only available in Lenovo Vantage.

It runs no background services, uses less memory, virtually no CPU and contains no telemetry.

Join the Legion Series Discord: https://discord.com/invite/legionseries!

screenshot

Disclaimer

The tool comes with no warranty. Use at you own risk.

This is a hobby project. I want to make it available on more devices, but it will take some time, so please be patient and read through this readme carefully.

Donate

If you enjoy using the Lenovo Legion Toolkit, consider donating.

PayPal Donate

PayPal QR code

Download

You can download the installer from Releases page here: Latest release.

Compatibility

Toolkit is compatible with a lot of Lenovo Legion laptops from 2020 and 2021 running Windows 10 and 11. All testing done by me is done always on latest Windows 11 update and Legion 5 Pro 16ACH6H.

If you are getting an incompatible message on startup, you can check Contribution section down at the bottom, to see how can you help. Keep in mind, that not always I am able to make all options compatible with all hardware, since I do not have access to it.

Note: Y-models (Y540, Y740 etc) have limited compatibility only, meaning not all options work.

List of supported models can be found here: Compatibility.cs.

Features

The app allows to:

  • Change settings like power mode, battery charging mode etc. That are available only through Vantage.
  • Change display refresh rate (built-in display only).
  • Deactivate discrete GPU (nVidia only).
  • View battery statistics.
  • Define Actions that will run when laptop is i.e. connected to AC power.
  • Disable/enable Lenovo Vantage and Fn Keys service without uninstalling it.
Disable/enable Lenovo Vantage

You can disable Lenovo Vantage without uninstalling it. It it especially useful, you want to keep Vantage around i.e. for checking updates.

You can do it from the Settings page. If you disable Vantage, it will stop and disable it's services, and disable all funky Lenovo Scheduled tasks. Once Vantage is disabled, it will no longer start any background processes on startup.

If you want to open Lenovo Vantage, you need to re-enable it from the tool, otherwise it will prompt to reinstall itself.

Disable/enable Fn Keys service

This app allows you to disable Lenovo Vantage without uninstalling it. It it especially useful, you want to keep Vantage around i.e. for checking updates.

You can do it from the Tools menu on top. If you disable Vantage, it will stop and disable it's services, and disable all funky Lenovo Scheduled tasks. Once Vantage is disabled, it will no longer start any background processes on startup. If you want to open Lenovo Vantage, you need to re-enable it from the tool, otherwise it will prompt to reinstall itself.

Deactivate discrete GPU

Sometimes discrete GPU stays active even when it should not. This can happen for example, if you work with external screen and you disconnect it - some processes will keep running on discrete GPU keeping it alive and shortening battery life.

There are two ways to help the GPU deactivate:

  1. killing all processes running on dGPU (this one seems to work better),
  2. disabling dGPU for a short amount of time, which will force all processes to move to the integrated GPU.

Deactivate button will be enabled when dGPU is active, you have Hybrid mode enabled and there are no screens connected to dGPU. If you hover over the button, you will see the current P state of dGPU and list of processes running on it.

Keep in mind that some apps may not like this feature and crash, when you deactivate dGPU.

Windows Power Plans

Toolkit will automatically switch Windows power plans when Power Mode changes and when Lenovo Vantage is disabled.

On some laptops though, Lenovo Vantage never switched power plans. If you have one of the laptops where Lenovo Vantage does not change Windows power plans automatically you can override this behavior in Settings. This will allow Toolkit to always change Windows power plans, even if Lenovo Vantage is running in the background.

CPU Boost Modes

This allows to modify hidden setting of Windows Power Plans called Processor performance boost mode. It is a little bit cryptic what these options do, but the best explanation is provided here:

Power and performance tuning @microsoft.com

ProcessorPerformanceBoostMode @microsoft.com

Credits

Special thanks to:

Contribution

I appreciate any feedback that you have, so please do not hesitate to report issues. PRs are also welcome!

Bugs

If you find any bugs in the app, please report them. It will be very helpful if you start the app with --trace parameter and reproduce the issue. You can find logs in %LOCALAPPDATA%\LenovoLegionToolkit\log. Of course attach the latest log to the issue here on GitHub.

Just, don't run with this parameter all the time, it creates a really large amount of logs.

Compatibility

It would be great to expand the list of compatible devices, but to do it your help is needed!

If you are willing to check if this app works correctly on your device that is currently unsupported, you can do it by starting the app with --skip-compat-check argument. Remember that some functions may not function properly, so keep this in mind.

If you do it, I would really appreciate if you create an issue here on GitHub with the results of your testing. Make sure to include following information in your issue:

  1. Full model name (i.e. Legion 5 Pro 16ACH6H)
  2. List of features that are working as expected.
  3. List of features that seem to not work.
  4. List of features that crash the app.

The more info you add, the better the app will get over time.

Thanks in advance!

lenovolegiontoolkit's People

Contributors

bartoszcichecki avatar instinctex avatar kittendrone avatar zyazhb 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.