Comments (5)
@Soham-Rakhunde I don't have time to implement features I will not use, so if you need keyboard LED you will need to implement the CLI yourself.
I also think you misunderstood what I did. Basically the "vantage features" were already implemented in LenovoController (this repo), I then call them from a CLI instead of the GUI so that a script can interface with them. I didn't add new vantage features.
Either way, if you take a look at the code in my fork (link in my comment above) you will find the implementation of the CLI. Adding features can be done by adding a new case
in the switch
statement. Setting the value of a feature would then be the third argument iirc.
I might implement everything at some point but maybe in a couple months (don't count on it).
PS. I implemented a Python script that gets called every minute by the Windows Task Scheduler (and run as admin), checks the current battery status (charging or not) and then calls the CLI to set the battery mode accordingly (conservation when more than 80 percent).
from lenovocontroller.
FYI, it's my first time doing this but I've managed to get a basic CLI working for BatteryMode: tkon99@cdcea5d
from lenovocontroller.
@tkon99 hello, can I know where to learn using CLI and especially how did u find vantage features.I mean i wanted to program that everytime I start my legion it should ayto start keyboard backlight and start the conservation mode at 80 percent auto(matically and its a pain in the ass to start the conservation mode every time from the gui. But I cant find any tool to do this or how to write a program or where to find these vantage features. PLease reply
from lenovocontroller.
Thank you very much I understood it.
I will look into the repo and i will try to write the feature. Thanks a lot.
from lenovocontroller.
FYI, it's my first time doing this but I've managed to get a basic CLI working for BatteryMode: tkon99@cdcea5d
Hey, I'm using your build and it works ok.
However, when Rapid Mode is enabled, it cannot disengage Rapid Mode through CLI, only enable or disable Conservative mode.
If I use "BatteryMode Normal", it stays in Rapid Mode. If I set to Rapid Mode, then change to Conservative, then try to change to Normal, it goes back to Rapid Mode.
If it's set to Normal and I use CLI to change to Rapid mode, it works. If it's set to Conservative and I use to change to Rapid mode, it works. If it's been previously set to Normal, then I change to Conservative, then change to Normal, it works changing to Normal.
Clicking on the GUI icons works fine to change between the three modes, at any previous state.
My device's a Lenovo Yoga 7i 15ITL5
from lenovocontroller.
Related Issues (20)
- Support Legion-5-Pro-16ACH6H HOT 2
- Linux version? HOT 3
- Support Lenovo G50-70 HOT 2
- Is there any installation requirements before using this app?
- Support 14ARE05 - Battery Mode HOT 4
- Add Licence HOT 2
- Lenovo slim 9 14itl5 HOT 1
- Compatibility For Lenovo Y50-70 HOT 1
- Ideapad Gaming 3 15IMH05 crash in Windows 11 (22H2) HOT 4
- how to compile for any lenovo laptop? HOT 4
- Re start
- Lenovo Ideapad Gaming 3 15ARH05 (Tested) HOT 1
- Fully works on Lenovo IdeaPad Essential V15-IIL Gen 1 Type 82C5
- Feature request- Add Compatibility with the Legion y540 and Hybrid mode HOT 3
- Energy driver error on Legion T5 28IMB05 and Thinkpad X1 Yoga (2nd gen) HOT 9
- Feature request- Add Battery Gauge as panel HOT 3
- Add custom cut-off point for charging, e.g. 80% instead of default 60% HOT 5
- Privacy mode for camera & mic
- Support Lenovo Ideapad 5 15ARE05
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lenovocontroller.