Update led-class.c

we just need power_on checks.