Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

power: supply: axp288_fuel_gauge: Add Mele PCG03 to the deny-list

The Mele PCG03 is another mini PC using the AXP288 PMIC where the EFI
code does not disable the charger part of the PMIC causing us to report
a discharging battery with a random battery charge to userspace.

Add it to the deny-list to avoid the bogus battery status reporting.

Cc: Rasmus Porsager <rasmus@beat.dk>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>

authored by

Hans de Goede and committed by
Sebastian Reichel
6b714ea4 32e4978b

+6
+6
drivers/power/supply/axp288_fuel_gauge.c
··· 732 732 DMI_MATCH(DMI_BOARD_VERSION, "V1.1"), 733 733 }, 734 734 }, 735 + { /* Mele PCG03 Mini PC */ 736 + .matches = { 737 + DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "Mini PC"), 738 + DMI_EXACT_MATCH(DMI_BOARD_NAME, "Mini PC"), 739 + }, 740 + }, 735 741 { 736 742 /* Minix Neo Z83-4 mini PC */ 737 743 .matches = {