adapted license to take into account change of address
reworked whitespaces
added option to set low battery level
added option to set critical battery level