pretty-print battery info