This paper analyzes the unified performance of energy detection (ED) of spectrum sensing (SS) over generalized fading channels in cognitive radio (CR) networks. The detective performance of SS schemes will be obviously affected by fading channel among communication nodes, and ED has the advantages of fast implementation, no requirement of priori received information and low complexity, so it is meaningful to investigate ED that is performed over fading channels such as Nakagami-m channel and Rice channel, or generalized fading channels such as κ-μ fading distribution and η-μ fading distribution. The α-κ-μ fading distribution is a generalized fading model that represents the nonlinear and small-scale variation of fading channels. The probability density function (p.d.f.) of instantaneous signal-to-ratio (SNR) of α-κ-μ distribution is derived from the p.d.f. of envelope to evaluate energy efficiency for sensing systems. Next, the detection probability of detective model with Marcum-Q function has been derived and the close-form expressions with moment generating function (MGF) method are deduced to achieve SS. Furthermore, novel and exact closed-form analytic expressions for average area under the receiver operating characteristics curve ( AUC ) also have been deduced to analyze the performance characteristics of ED over α-κ-μ fading channels. Besides, cooperative spectrum sensing (CSS) with diversity reception has been applied to improve the detection accuracy and mitigate the shadowed fading features with OR-rule. At last, the results show that the detection capacity can be evidently affected by α-κ-μ fading conditions, but appropriate channel parameters will improve sensing performance. On the other hand, the established ED-fading pattern is approved by simulations under diversity combination with CSS at the receiving end and it can significantly enhance the detection performance of proposed algorithms.