Evaluating wireless sensor node longevity through Markovian techniques