fixed log spam when ic2 is installed
avoid potential crashes in power logic