Use ros2_control infrastructure to pass necessary data through State interfaces and let specialized BatteryStateBroadcaster component publish it. Here we are interested in using the second option, as ...