Created EnergyAwareRandomWaypointMobility which turns off when the battery is depleted