DS2782/DS2786 standalone gas-gauge

modulename: ds2782_battery.ko

configname: CONFIG_BATTERY_DS2782

Linux Kernel Configuration
└─>Device Drivers
└─>Power supply class support
└─>DS2782/DS2786 standalone gas-gauge
In linux kernel since version 2.6.31 (release Date: 2009-09-09)  
Say Y here to enable support for the DS2782/DS2786 standalone battery
gas-gauge.

source code: