Re: [PATCH v6 1/1] platform/x86: add Acer battery control driver

Mohsen Tahmasebi <[email protected]>
Newsgroups org.kernel.vger.platform-driver-x86
Message-ID <sna7wvf6wina7hpj7okaxhof25gakk5ywzusbhm4iwb32fej3f@ltolrxw4zdrq>
Hi Jelle,

I tested v6 on an Acer Aspire A315-58G, BIOS V1.35, kernel 7.2.0 + this patch.

Since A315-58G is not in acer_wmi_battery_health_mode_table, I tested the
battery health mode with force=1.

The battery WMI GUID is present and all of tests worked with no errors:

- battery temperature is reported correctly
- charge_type mode switch works
- charging stops at 80% with Long_Life enabled
- charging continues beyond 80% after switching back to Standard
- the setting survives AC unplug/replug and reboot
- no warnings or errors in dmesg

$ cat /sys/class/dmi/id/sys_vendor
Acer

$ cat /sys/class/dmi/id/product_name
Aspire A315-58G

Tested-by: Mohsen Tahmasebi <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.