Fixed two issues
Fixed two issues

1. We need to do an fflush(stdout) to get the output to appear in a
timely manner. In particular, without this we have problems when
connected to a pipe.

2. We no longer show low battery warnings when on AC.

zenhack/battstat