X-Powers AXP288 Fuel Gauge

modulename: axp288_fuel_gauge.ko
configname: CONFIG_AXP288_FUEL_GAUGE

Linux Kernel Configuration
└─> Device Drivers
└─> Power supply class support
└─> X-Powers AXP288 Fuel Gauge

Say yes here to have support for X-Power power management IC (PMIC)
Fuel Gauge. The device provides battery statistics and status
monitoring as well as alerts for battery over/under voltage and
over/under temperature.

source code: