My solution - attach shieldgen with constant power draw to your collision group. Power effect of this shieldgen will be deactivated after loosing of collision group.
Main problem for me - it’s working for ship at once. You need to buy shieldgen again after repair of collision group.
I did this trick in my survival mission. At the start of mission you have limited power. After N seconds you’ll got full power of your ship.