We address the problem of estimating the remaining energy of a node battery in wireless sensor networks. To solve this issue, we provide an on-line battery model that requires limited memory and low computational complexity. The accuracy of our battery model is verified by simulation. Categories and Subject Descriptors C.4.5 [Performance of systems]: Performance attributes General Terms Performance