herbstluftwm: fix battery detection