Power factor is defined as: