Text this: Charging and discharging control of Li-Ion battery energy management for Electric vehicle application