Created a battery example