Hi, I’m an upstream kernel developer and the maintainer of the axp288_fuel_gauge driver.
I just discovered this thread today, this is a known issue with some of these Intel Atom based boxes, they use an AXP288 PMIC and often the BIOS does not turn off the fuel-gauge (battery monitoring) part of this chip.
The driver for the AXP288 fuel-gauge contains a list of devices which are known to have this issue: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/power/supply/axp288_fuel_gauge.c#n679 and it will automatically disable itself for devices on this list.
So the proper fix for this, which will make future Linux versions work out of the box without needing manual configuration, is to add your device to this list.
I can do this for you, but I need some information about your model to be able to do this. Please as a regular user in a terminal run:
grep . /sys/class/dmi/id/* 2> /dev/null
On the device and then copy and paste the output here, or send me an email with it at “Hans de Goede <hdegoede@redhat.com>”.
That will give me the info which I need to add your device to the no-fuel-gauge list.
Also a kind request to the kind people who have helped the reporter of this issue before, if the solution ends up to be blacklisting a kernel driver, or specifying some module parameter, then please send the upstream kernel driver maintainer for the kernel-module in question an email.
The maintainer(s) may very well not always have time to look at the issue, but sometimes they do and if we can get these kind of things fixed in the kernel, then for newer Linux distro releases things will just work without users needing to manually fix things in arcane ways.
Regards,
Hans