Second optimization step for battery monitoring.
Moved checking for warning into else part of checking for alarm.
When battery is in alarm we do not have to check for warning anymore.
(http://www.atmel.com/images/doc8453.pdf)

Signed-off-by: Michel Verbraak <info@1st-setup.nl>