Extracted (non-working?) battery code into separate file, commented lines that were throwing an exception