This is a ROS package that integrates ROTOYE's Batmon into ROS. The package comes with a ROS node that automatically pulls data from the Batmon and publishes it as a sensor_msgs/BatteryState Message. It also has a driver class that implements all the necessary I2C protocols to be able to pull data from the Batmon.
The download for this package can be found at https://github.com/rotoye/batmon-ros.
This package was installed and tested on a raspberry pi. For more information about installation, either follow this tutorial or view the readme on the github page.