Initial support for xbattbar