Comments (5)
The basic functions are good (on/off, status). I don't understand what batterycm-switcher.service does though, as its not running, and starting it just results in an immediate:-
systemd[1]: Started Batterycm-Switcher Function Key Backend Service. systemd[1]: batterycm-switcher.service: Deactivated successfully.
And yes I do have acpid.service running.
This feature is require enable_receive_funkey
to 1, you can change it using batterycm-switcher config
.
Also I'm guessing the config_charging_threshold doesn't apply for Lenovo laptops (only for huawei)?
This because the feature is optional, you can enable it by batterycm-switcher auto
.
But the batterycm-charger.service
is conflict with batterycm-switcher.service
and other commands.
If you want to use funtion key and switch command, the first thing is do batterycm-switcher noauto
Sorry for the bad experience, I will add more detailed description to README
in the future.
from batterycm-switcher.
Ah okay I overlooked the enable_receive_funkey. My Vantage key on the Legion 5 Pro (Fn+F9) doesn't seem to be detected by xev though, so probably not useful for me.
from batterycm-switcher.
Ah okay I overlooked the enable_receive_funkey. My Vantage key on the Legion 5 Pro (Fn+F9) doesn't seem to be detected by xev though, so probably not useful for me.
You can type acpi_listen -c 1
, then press your funtion key, see the output and fill the keymapper_listen_event
.
e.g. My ideapad s540:
❯ acpi_listen -c 1
1F649C73-D9C5- 000000d0 00000000
Then I fill it with:
keymapper_listen_event=" 1F649C73-D9C5- 000000d0 00000000"
from batterycm-switcher.
Ah okay I overlooked the enable_receive_funkey. My Vantage key on the Legion 5 Pro (Fn+F9) doesn't seem to be detected by xev though, so probably not useful for me.
You can type
acpi_listen -c 1
, then press your funtion key, see the output and fill thekeymapper_listen_event
.e.g. My ideapad s540:
❯ acpi_listen -c 1 1F649C73-D9C5- 000000d0 00000000Then I fill it with:
keymapper_listen_event=" 1F649C73-D9C5- 000000d0 00000000"
Ah at first I thought it wasn't working then I realised the space in front. For the L5Pro I have it is
keymapper_listen_event=" 1F649C73-D9C5- 000000d0 00000000"
Thanks, this works (even though there's no UI feedback so hard to immediately tell without checking with batterycm_switcher status)
from batterycm-switcher.
Ah okay I overlooked the enable_receive_funkey. My Vantage key on the Legion 5 Pro (Fn+F9) doesn't seem to be detected by xev though, so probably not useful for me.
You can type
acpi_listen -c 1
, then press your funtion key, see the output and fill thekeymapper_listen_event
.
e.g. My ideapad s540:❯ acpi_listen -c 1 1F649C73-D9C5- 000000d0 00000000Then I fill it with:
keymapper_listen_event=" 1F649C73-D9C5- 000000d0 00000000"
Ah at first I thought it wasn't working then I realised the space in front. For the L5Pro I have it is keymapper_listen_event=" 1F649C73-D9C5- 000000d0 00000000"
Thanks, this works (even though there's no UI feedback so hard to immediately tell without checking with batterycm_switcher status)
You're welcome, I'm now pool skill with UI feedback
, but you can try the voice feedback
.
from batterycm-switcher.
Related Issues (6)
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 batterycm-switcher.