mavlinkbridge: fixed battery remaining calculation