fix battery test for rs

Signed-off-by: fabio <fbi.gritti@gmail.com>