Black holes aren't magic
They won't "suck in" anything that an object of equivalent mass would suck in. If they sucked in "everything, including all energy that might be around" they would be truly be black and we would have no chance of seeing any evidence that they exist.
Any black hole with enough "stuff" around it to form planets would emit (not the black hole itself, but the stuff orbiting it being heated up) enormous amounts of energy/radiation. Besides, life doesn't necessary need energy from the outside. If a massive planet 10x the size of Earth had Earth or Moon sized moons orbiting it closely, it could be like Jupiter/Europa, which has liquid water in its oceans due to the heat from the tidal forces. Life is just as possible on that black hole moon as it is on Europa, without any sunlight being necessary.