cleanup and now it uses smart_battery_msgs