Camera light firmware functional with low power draw and sleep