Closed RangerNJU closed 3 years ago
This is the issue with the service, not the driver, and should be reported there (although I believe in can be easily fixed by simply updating the service to the current version).
Yes, the latest version (master branch) works with the new (charge_control_thresholds
) driver interface.
It was named that way to match the kernel ABI https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-power
Thank you everyone for your quick response:)
Yes, the latest version (master branch) works with the new (
charge_control_thresholds
) driver interface.
I've search AUR but got no package for the service, I'm wondering whether the Makefile is compatible with Arch? In other words, all I need to do is clone the service then go to the generic folder and sudo make install
?(Maybe a better practice would be copy the commands in the Makefile and execute them manually.)
BTW is the service only about the Start and end thresholds getting reset issue? I didn't notice such issue using Matebook13 2019 i3 version for the last 24 hours. Can I simply disable the service if the thresholds won't get reset at all?
update: the thresholds get reset to 0 0
, and by default the battery won't charge in this situation, which is fine for me.
@RangerNJU
0 0
as "battery protection off, charge whenever plugged". Can you please double-check that your device refuses to charge when set to 0 0
? I may need to take this corner case into account for the applet.I'd like to close this issue and say sorry to everyone subscribed to this repository that don't care about the service. Thank you for your courtesy and patience @nekr0z .
0 0
and plugged, my device keeps the current battery charge percentage(in other words, won't charge to 100 percent). I get the motherboard replaced at the official service center last weekend, not sure if it is related.
Describe the bug "Fail to get WMI Privilege and Reinstate" message in system boot log.
To Reproduce Install the 3.4 version driver via DKMS . Boot using ly and Archlinux with lts kernel version: 5.4.72-1-lts.
Type
sudo journalctl
and search forHuawei WMI Reinstate
.Then you will see messages like:
Expected behavior No such error messages in system boot log.
Desktop (please complete the following information):
Kernel [5.4.72-1-lts]
uname -a
Distro [Arch Linux] `
Loaded WMI modules
lsmod | grep wmi
Dmesg log
dmesg > dmesg.txt
it's very long(~900 lines) and maybe no need at all.ALSA log if applicable
alsa-info.sh
maybe no need at all.Additional context Since the config file related to charging is now called
charge_control_thresholds
, which is not match withcharge_thresholds
, a simple solution may be just check out the source files and edit so that the filename matches?(However I'm not sure where to edit)