edited conditional-battery.c (now conditional-lightSensor)