New energy battery shell programming example