testing ANDing states for enabling power