implemented the base of the UAVBattery. Changed the state addTransition
method to take in the transition parameters instead of a transition.