Reliability assessment of wireless sensor nodes with non-linear battery discharge