Lithium battery electric scooter controller