added low battery detection test program; based off of functional