client: add an element showing basic battery information