@ottojo It would be nice to have ability to parametrize display look - position, text size, colors etc.
I drafted a solution here:
https://github.com/slgrobotics/ros_battery_monitoring/tree/main/battery_state_rviz_overlay
I can create a pull request, if that's acceptable.