A Markov Model Accounting for Charge Recovery in Energy Harvesting Devices