When performing a self test the check raise an alert that
the device is "on battery". The check now checks the self
test state and ignores the on battery state during this time.
The check has been cleaned up a lot to be more maintainable and
To the list of all Werks