I have a unattended raspberry with a power supply for many device. Raspberry has lately restarts and I think that may be caused by a under voltage. Is it possible to check the input voltage for software? I've seen some projects but used hardware and for me is difficult access to raspberry. If xmbc or osmc shown the rainbow square with detect under voltage, I think that hardware modification is not necesary. How xbmc does to detect under voltage?
Thanks in advance