update a function Checking battery and input switches for ODROID-SHOW2

Change-Id: If404c6cdab2636e283c39ce8cafd9f72d7c36e16