Fix bug when batinfo library is installed but no battery is available on
the system