Changed some logging things and the battery pin.