So I have a pi running Kodi, when it's in trouble it gives a powerbolt on the screen.
Great. Now I know.
Secondly I have a pi as a webserver headless 100% of the time.
How can I log/see if it suffers from undervoltage.
I know that you should use a decent Amp adapter, but that's not the question.
The question is:
how do I log undervoltage on a headless pi?