It is actually flaming on two grounds:
First the issue the OP describes (no electrical power) is not a systemic well know highly frequent problem on the bike.
Second it definitely has NOTHING to do with the IGH which is a mechanical gear box that has Zero effect on electrical power delivery...