Make it easier to change to used battery device.
Automatic detection of battery.
Reworked the way battery status is retrieved to be more flexible.