Added user configuration to choose between optimized or non optimized battery monitoring.

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