(battery-linux-proc-apm): Re-use the temporary buffer.