UPS battery alert when self-test

I did not check the code, but you probably have to go with the percentages of the battery, if you do not want to change the plugin. Apparently it does not care about state of the self test.
Have you checked all available rule sets?