math rs fix
math batteryCharge added