First, what kind of power?
Second, what mod pack?
Because there are ways to detect full/empty energy cells, as well as full/empty batbox/mfe/mfsu.
For the energy cells, buildcraft gates are your friends, for IC2, they can act differently regarding redstone, change the mode via the redstone...