Ensuring Sustainable Grid Stability through Effective EV Charging Management: A Time and Energy-Based Approach | Synapse