Check the fraction before interpreting a robot's 1% battery display
ROS 2 BatteryState defines the charge fraction on a scale from zero to one. Showing the raw fraction as a percentage can turn a full reading into 1%.
How to test it
Feed 0.25, 0.5 and 1.0 to a test dashboard. Verify how the display, export and threshold calculation convert the values, then add a separate unknown-value case.

ZHILIANHAI




