Smart Charging with IoT: A Guide to Efficient Battery Management