apm_power: check I.intval for zero value, we use it as the divisor