Added new versions of battery simulation and manager.