The Raspberry is running latest Raspbian and monitors the UPS using Network UPS Tools (NUT) which can power off the computer, send notifications etc. I have set up script to log the events and get an SMS on power failures (using Android phone and SMS Gateway).
Below is a screenshot from the NUT monitor GUI and results from a test run of the setup. I have manually started a bash script to collect the battery status by pooling every 15 seconds with "upsc eaton3s@localhost | grep battery.charge:"