Input:   𝑃 t o t a l , 𝑃 m a x _ t o t a l
Output:   𝑀 , 𝑃 m a x , 𝑃 m i n , 𝐾 𝑀 𝑝 m a x , 𝐾 𝑁 𝑀 𝑝 m i n
Initialization: Create a wireless sub-channel set 𝐾 with 𝑁 subchannels, the maximum power transmission subchannel
subset 𝐾 𝑀 𝑝 m a x and the minimum power transmission subchannel subset 𝐾 𝑁 𝑀 𝑝 m i n ,
                𝐾 = { C H C H = 𝑁 𝑖 = 1 C H 𝑖 𝐾 } , 𝑀 𝑝 m a x 𝐾 = 𝜙 , 𝑁 𝑀 𝑝 m i n = 𝜙 ,
Begin:
(1) Create a new set 𝐾 from the set 𝐾 by a descending order of 𝐻 𝑖 2 𝐹 ,
          𝐾 = { C H C H = 𝑁 𝑖 = 1 C H 𝑖 ; ( 1 𝑖 𝑘 𝑁 ) , 𝐻 𝑖 2 𝐹 𝐻 𝐾 2 𝐹 }
(2) for   𝑖 = 1 𝑁   do
     𝑃 m a x = 𝑃 m a x _ t o t a l 𝑖 1
     if   𝑖 < 3 0 ,
          compare S N R 𝑖 with the threshold value,
              S N R 𝑖 = 𝑃 m a x 𝑛 0 𝐻 𝑖 2 𝐹 𝑖 𝑖 1 𝑖 1 1
     else
      compare S N R 𝑖 with the imitation value,
              S N R 𝑖 = 𝑃 m a x 𝑛 0 𝐻 𝑖 2 𝐹 𝑒 1
     end if
     if S N R 𝑖 large than or equal to the threshold or limitation values
         add C H 𝑖 into 𝐾 𝑀 𝑝 m a x ,
     else
          𝑀 = 𝑖 1
         add C H 𝑗 ( 𝑀 + 1 𝑗 𝑁 ) into 𝐾 𝑁 𝑀 𝑝 m i n ,
         break,
     end if
end for
(3)
𝑃 m a x = 𝑃 m a x _ t o t a l 𝑀 , 𝑃 m i n = 𝑃 t o t a l 𝑃 m a x _ t o t a l 𝑁 𝑀 ,
end Begin
Algorithm 1: Energy efficiency binary power control.