energy detection