[battery] Fix wrong X resource value pairings, add boolean

'true' actually was interpreted as a String, thus strtol() on that
yielded 0, which evaluated to false.

... nice, isn't it? [FIXED]