Analysis of self-oscillating switched-mode circuit for low-voltage energy harvesting