Open ngoonee opened 2 years ago
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.
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.
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"
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 00000000
Then 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)
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 00000000
Then 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
.
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:-
And yes I do have acpid.service running.
Also I'm guessing the config_charging_threshold doesn't apply for Lenovo laptops (only for huawei)?