An IoT based approach to monitor and replace batteries for battery operated vehicle