Retrieve ac online state to bat_now.ac

To change battery display, I modified code to supply ac online state.

I will send a pull request to awesome-copycats later.