In this paper, the privacy-preserving problem of finite-time discrete-time average consensus is studied by adding random numbers. The privacy leakage conditions are given for systems with curious but not malicious nodes and eavesdroppers, respectively. By introducing the random numbers and node decomposition mechanism, the privacy information of the nodes cannot be estimated by the adversaries. The proposed algorithm is applied to the power allocation problem of distributed battery energy storage systems. Based on the previous proposed multi-rate sampling method, the privacy-preserving finite-time discrete-time average consensus is utilized to estimate the accurate average value within finite steps. The accurate power allocation based on the same relative SoC variation rate can be achieved with the privacy preservation of the transmission information. Finally, based on a networked battery energy storage system, simulation studies are presented to verify the effectiveness of the proposed method.