Fix segfaults in the case monitors could not be read

On my system the first battery is BAT1. That's weird,
but that made lifebar crash. This commit fixes the
system status read logic and prevent crashes.