sec_battery: fix ifdefs

Change-Id: I0747dbbcc7607fafd19d9658d6acd38ed1b84d92